Backed out changeset 4dd604f6e395 (bug 1667351) for causing high frequency xpcshell failures at test_altsvc_pref.js. CLOSED TREE

This commit is contained in:
Brindusan Cristian 2020-10-05 21:59:35 +03:00
Родитель 6c32abf86e
Коммит 876fad947b
1 изменённых файлов: 3 добавлений и 6 удалений

Просмотреть файл

@ -1576,13 +1576,10 @@ void Http3Session::Authenticated(int32_t aError) {
static_cast<uint32_t>(mError), this));
}
mHttp3Connection->PeerAuthenticated(aError);
}
// Call OnQuicTimeoutExpired to properly process neqo events and outputs.
// We call OnQuicTimeoutExpired instead of ProcessOutputAndEvents, because
// HttpConnectionUDP must close this session in case of an error.
NS_DispatchToCurrentThread(NewRunnableMethod(
"net::HttpConnectionUDP::OnQuicTimeoutExpired", mSegmentReaderWriter,
&HttpConnectionUDP::OnQuicTimeoutExpired));
if (mConnection) {
Unused << mConnection->ResumeSend();
}
}