Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5609)

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 7289006: Basic HTTP pipelining support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix trybot issues Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index 411e096e43d396372956c74fb16fb772a25c1d0c..0262db85accc36561f677e3b64a74575cacadcc4 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -294,6 +294,9 @@ void InitializeNetworkOptions(const CommandLine& parsed_command_line) {
// Enable WebSocket over SPDY.
net::WebSocketJob::set_websocket_over_spdy_enabled(true);
}
+
+ if (parsed_command_line.HasSwitch(switches::kEnableHttpPipelining))
+ net::HttpStreamFactory::set_http_pipelining_enabled(true);
}
void InitializeURLRequestThrottlerManager(net::NetLog* net_log) {

Powered by Google App Engine
This is Rietveld 408576698