Backed out changeset 6a917dc8e60c (bug 1069724) for web platform 4 test failures
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Thu, 23 Oct 2014 14:52:59 +0200
changeset 211930 c7c0cb53949de0e9fd233c290c92db83e0d8b944
parent 211929 c3b153a3d9f969aa20e4e0ef2045dffb9f556e1f
child 211931 652cffc657e3716d31f920561ba3345160155115
push id27693
push userryanvm@gmail.com
push dateThu, 23 Oct 2014 18:06:22 +0000
treeherdermozilla-central@d8de0d7e52e0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1069724
milestone36.0a1
backs out6a917dc8e60cd06161a2657361cacbcc6cd48cf9
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 6a917dc8e60c (bug 1069724) for web platform 4 test failures
netwerk/protocol/http/nsHttpChannel.cpp
--- a/netwerk/protocol/http/nsHttpChannel.cpp
+++ b/netwerk/protocol/http/nsHttpChannel.cpp
@@ -4892,17 +4892,18 @@ nsHttpChannel::BeginConnect()
     }
 
     // Force-Reload should reset the persistent connection pool for this host
     if (mLoadFlags & LOAD_FRESH_CONNECTION) {
         // just the initial document resets the whole pool
         if (mLoadFlags & LOAD_INITIAL_DOCUMENT_URI) {
             gHttpHandler->ConnMgr()->DoShiftReloadConnectionCleanup(mConnectionInfo);
         }
-        mCaps &= ~NS_HTTP_ALLOW_PIPELINING;
+        // each sub resource gets a fresh connection
+        mCaps &= ~(NS_HTTP_ALLOW_KEEPALIVE | NS_HTTP_ALLOW_PIPELINING);
     }
 
     // We may have been cancelled already, either by on-modify-request
     // listeners or by load group observers; in that case, we should
     // not send the request to the server
     if (mCanceled)
         rv = mStatus;
     else