From 1ede81765da15775a78f099500f02273314fef55 Mon Sep 17 00:00:00 2001 From: Nicholas Hurley Date: Tue, 12 Apr 2016 11:43:39 -0700 Subject: [PATCH] Bug 1236650 - make h2 push work in the face of redirects. r=mcmanus --HG-- extra : rebase_source : 2ebbaf8d42802575fc3f51db8c1b84629cb0e53b --- netwerk/protocol/http/HttpBaseChannel.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/netwerk/protocol/http/HttpBaseChannel.cpp b/netwerk/protocol/http/HttpBaseChannel.cpp index 341d9de796b5..cbae825445f6 100644 --- a/netwerk/protocol/http/HttpBaseChannel.cpp +++ b/netwerk/protocol/http/HttpBaseChannel.cpp @@ -2828,6 +2828,9 @@ HttpBaseChannel::SetupReplacementChannel(nsIURI *newURI, } } + // share the scheduling context - see bug 1236650 + httpChannel->SetSchedulingContextID(mSchedulingContextID); + if (httpInternal) { // Convey third party cookie and spdy flags. httpInternal->SetThirdPartyFlags(mThirdPartyFlags);