OSDN Git Service

Fix for bug 5226268 [Browser] http keep-alive packets DO NOT MERGE
authorKristian Monsen <kristianm@google.com>
Thu, 15 Sep 2011 12:56:57 +0000 (13:56 +0100)
committerPaul Eastham <eastham@google.com>
Sun, 18 Sep 2011 21:58:14 +0000 (14:58 -0700)
Disabling SPDY as part of not reusing connections

Also needs the following CL in external/chromium:
https://android-git.corp.google.com/g/#/c/135472/

Change-Id: I246096834c5ca601435df0089fb7f59001506e54

Source/WebKit/android/WebCoreSupport/ChromiumInit.cpp

index 500975c..f5029d5 100644 (file)
@@ -68,7 +68,8 @@ void initChromium()
     if (!initCalled) {
         logging::SetLogMessageHandler(logMessageHandler);
         networkChangeNotifier.reset(net::NetworkChangeNotifier::Create());
-        net::HttpNetworkLayer::EnableSpdy("npn");
+        // Disable SPDY for bug 5226268 [Browser] http keep-alive packets are sent too frequently to network
+        // net::HttpNetworkLayer::EnableSpdy("npn");
         initCalled = true;
         jni::SetJavaVM(JSC::Bindings::getJavaVM());
     }