зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1622861 - Check that Http3Session is present in HttpConnectionUDP::CloseTransaction. r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D67308 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
2c4e6310d5
Коммит
73917fdfe5
|
@ -492,12 +492,14 @@ void HttpConnectionUDP::CloseTransaction(nsAHttpTransaction* trans,
|
|||
}
|
||||
|
||||
mDontReuse = true;
|
||||
mHttp3Session->SetCleanShutdown(aIsShutdown);
|
||||
mHttp3Session->Close(reason);
|
||||
if (!mHttp3Session->IsClosed()) {
|
||||
// During closing phase we still keep mHttp3Session session,
|
||||
// to resend CLOSE_CONNECTION frames.
|
||||
return;
|
||||
if (mHttp3Session) {
|
||||
mHttp3Session->SetCleanShutdown(aIsShutdown);
|
||||
mHttp3Session->Close(reason);
|
||||
if (!mHttp3Session->IsClosed()) {
|
||||
// During closing phase we still keep mHttp3Session session,
|
||||
// to resend CLOSE_CONNECTION frames.
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
mHttp3Session = nullptr;
|
||||
|
|
Загрузка…
Ссылка в новой задаче