Bug 1593446 - Neqo do not reset individual streams any more, we must clean them up in necko. r=mayhemer

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

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

View File

@ -157,7 +157,7 @@ void Http3Session::Shutdown() {
MOZ_ASSERT(NS_FAILED(mError));
stream->Close(mError);
} else if (!stream->HasStreamId()) {
// Connection has nto been started yet. We can restart it.
// Connection has not been started yet. We can restart it.
stream->Transaction()->DoNotRemoveAltSvc();
stream->Close(NS_ERROR_NET_RESET);
} else if (stream->RecvdData()) {
@ -328,6 +328,7 @@ nsresult Http3Session::ProcessEvents(uint32_t count, uint32_t* countWritten,
break;
case Http3Event::Tag::ConnectionClosed:
LOG(("Http3Session::ProcessEvents - ConnectionClosed"));
CloseInternal(false);
mState = CLOSED;
break;
default: