bug 1486137 - fix the stream ID check when counting TRR streams r=nwgh

MozReview-Commit-ID: DzOu1dRlWtg

Differential Revision: https://phabricator.services.mozilla.com/D5748

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Daniel Stenberg 2018-09-13 14:48:46 +00:00
Родитель 78b36687ad
Коммит f55cab35f3
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -405,7 +405,7 @@ Http2Session::RegisterStreamID(Http2Stream *stream, uint32_t aNewID)
}
}
if (stream->StreamID() & 1) {
if (aNewID & 1) {
// don't count push streams here
MOZ_ASSERT(stream->Transaction(), "no transation for the stream!");
RefPtr<nsHttpConnectionInfo> ci(stream->Transaction()->ConnectionInfo());