forked from mirrors/gecko-dev
Bug 1812048 - Call MaybeResumeSend to avoid stall, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D167668
This commit is contained in:
parent
02aa0faaee
commit
1688031bdc
2 changed files with 5 additions and 1 deletions
|
|
@ -2260,6 +2260,7 @@ void Http3Session::WebTransportNegotiationDone() {
|
|||
}
|
||||
}
|
||||
mWaitingForWebTransportNegotiation.Clear();
|
||||
MaybeResumeSend();
|
||||
}
|
||||
|
||||
//=========================================================================
|
||||
|
|
|
|||
|
|
@ -332,7 +332,10 @@ void Http3WebTransportSession::Close(nsresult aResult) {
|
|||
|
||||
void Http3WebTransportSession::OnSessionClosed(uint32_t aStatus,
|
||||
nsACString& aReason) {
|
||||
MOZ_ASSERT(!mTransaction);
|
||||
if (mTransaction) {
|
||||
mTransaction->Close(NS_BASE_STREAM_CLOSED);
|
||||
mTransaction = nullptr;
|
||||
}
|
||||
if (mListener) {
|
||||
mListener->OnSessionClosed(aStatus, aReason);
|
||||
mListener = nullptr;
|
||||
|
|
|
|||
Loading…
Reference in a new issue