Bug 1734609 - Make sure to not reuse a connection that has a mSpdySession, r=necko-reviewers,valentin

Differential Revision: https://phabricator.services.mozilla.com/D131617
This commit is contained in:
Kershaw Chang 2021-11-22 13:34:47 +00:00
Родитель 45b7c9c6cc
Коммит 1cbf39ee90
1 изменённых файлов: 1 добавлений и 0 удалений

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

@ -238,6 +238,7 @@ void nsHttpConnection::Start0RTTSpdy(SpdyVersion spdyVersion) {
mDid0RTTSpdy = true; mDid0RTTSpdy = true;
mUsingSpdyVersion = spdyVersion; mUsingSpdyVersion = spdyVersion;
mEverUsedSpdy = true;
mSpdySession = mSpdySession =
ASpdySession::NewSpdySession(spdyVersion, mSocketTransport, true); ASpdySession::NewSpdySession(spdyVersion, mSocketTransport, true);