зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1695717 - Make sure to trigger writes after HTTP/3 session has been connected r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D110545
This commit is contained in:
Родитель
9ed5c4f9a3
Коммит
a1876158d2
|
@ -516,6 +516,15 @@ nsresult Http3Session::ProcessEvents() {
|
|||
0);
|
||||
|
||||
ReportHttp3Connection();
|
||||
// Maybe call ResumeSend:
|
||||
// In case ZeroRtt has been used and it has been rejected, 2 events will
|
||||
// be received: ZeroRttRejected and ConnectionConnected. ZeroRttRejected
|
||||
// that will put all transaction into mReadyForWrite queue and it will
|
||||
// call MaybeResumeSend, but that will not have an effect because the
|
||||
// connection is ont in CONNECTED state. When ConnectionConnected event
|
||||
// is received call MaybeResumeSend to trigger reads for the
|
||||
// zero-rtt-rejected transactions.
|
||||
MaybeResumeSend();
|
||||
} break;
|
||||
case Http3Event::Tag::GoawayReceived:
|
||||
LOG(("Http3Session::ProcessEvents - GoawayReceived"));
|
||||
|
|
Загрузка…
Ссылка в новой задаче