mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 00:35:44 +00:00
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:
parent
c0cdef1454
commit
2c84ed6710
@ -157,7 +157,7 @@ void Http3Session::Shutdown() {
|
|||||||
MOZ_ASSERT(NS_FAILED(mError));
|
MOZ_ASSERT(NS_FAILED(mError));
|
||||||
stream->Close(mError);
|
stream->Close(mError);
|
||||||
} else if (!stream->HasStreamId()) {
|
} 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->Transaction()->DoNotRemoveAltSvc();
|
||||||
stream->Close(NS_ERROR_NET_RESET);
|
stream->Close(NS_ERROR_NET_RESET);
|
||||||
} else if (stream->RecvdData()) {
|
} else if (stream->RecvdData()) {
|
||||||
@ -328,6 +328,7 @@ nsresult Http3Session::ProcessEvents(uint32_t count, uint32_t* countWritten,
|
|||||||
break;
|
break;
|
||||||
case Http3Event::Tag::ConnectionClosed:
|
case Http3Event::Tag::ConnectionClosed:
|
||||||
LOG(("Http3Session::ProcessEvents - ConnectionClosed"));
|
LOG(("Http3Session::ProcessEvents - ConnectionClosed"));
|
||||||
|
CloseInternal(false);
|
||||||
mState = CLOSED;
|
mState = CLOSED;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user