Bug 1593810 - Mark a Http3Stream DONE when nsHttpTransaction has picked up the FIN/RESET signal. r=mayhemer

Differential Revision: https://phabricator.services.mozilla.com/D51707

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Dragana Damjanovic 2019-11-05 18:59:23 +00:00
parent 2c84ed6710
commit 1d1cb3bdf1

View File

@ -282,6 +282,7 @@ nsresult Http3Stream::OnWriteSegment(char* buf, uint32_t count,
case RECEIVED_FIN:
case RECEIVED_RESET:
rv = NS_BASE_STREAM_CLOSED;
mState = DONE;
break;
case DONE:
rv = NS_ERROR_UNEXPECTED;