Backed out changeset 4dfb623bb11e (bug 1486137) for landing with the wrong bug number. a=backout
authorBrindusan Cristian <cbrindusan@mozilla.com>
Fri, 14 Sep 2018 12:24:17 +0300
changeset 436296 0fc842ad062996c6ef97e94c383c91d58501feda
parent 436295 362f50814dbae48192ae17ae20ed94a820d5a553
child 436297 d62f3bddcb7d610390bdd04a11941dd659431104
push id34635
push usercbrindusan@mozilla.com
push dateFri, 14 Sep 2018 09:25:13 +0000
treeherdermozilla-central@0fc842ad0629 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout
bugs1486137
milestone64.0a1
backs out4dfb623bb11e7fa244e66ec5fde83414c29f4736
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset 4dfb623bb11e (bug 1486137) for landing with the wrong bug number. a=backout
netwerk/protocol/http/Http2Session.cpp
--- a/netwerk/protocol/http/Http2Session.cpp
+++ b/netwerk/protocol/http/Http2Session.cpp
@@ -400,17 +400,17 @@ Http2Session::RegisterStreamID(Http2Stre
         IdleTime() >= gHttpHandler->CheckIfConnectionIsStalledOnlyIfIdleForThisAmountOfSeconds()) {
       // If a connection was using the TCP FastOpen and it was idle for a
       // long time we should check for stalls like bug 1395494.
       mCheckNetworkStallsWithTFO = true;
       mLastRequestBytesSentTime = PR_IntervalNow();
     }
   }
 
-  if (aNewID & 1) {
+  if (stream->StreamID() & 1) {
     // don't count push streams here
     MOZ_ASSERT(stream->Transaction(), "no transation for the stream!");
     RefPtr<nsHttpConnectionInfo> ci(stream->Transaction()->ConnectionInfo());
     if (ci && ci->GetTrrUsed()) {
       IncrementTrrCounter();
     }
   }
   return aNewID;