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

Unified Diff: chrome/browser/net/http_pipelining_compatibility_client.cc

Issue 9433015: Add a force pipelining option to load flags. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix build on other platforms Created 8 years, 10 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/net/http_pipelining_compatibility_client.cc
diff --git a/chrome/browser/net/http_pipelining_compatibility_client.cc b/chrome/browser/net/http_pipelining_compatibility_client.cc
index 2a44b2cc0e5c3b17ee2069d582642f2b007e21e9..b9051999db179858cbc70f27cadaf501ae887436 100644
--- a/chrome/browser/net/http_pipelining_compatibility_client.cc
+++ b/chrome/browser/net/http_pipelining_compatibility_client.cc
@@ -74,13 +74,13 @@ HttpPipeliningCompatibilityClient::Request::Request(
client_(client),
finished_(false) {
request_.set_context(url_request_context);
- // TODO(simonjam): Force pipelining.
request_.set_load_flags(net::LOAD_BYPASS_CACHE |
net::LOAD_DISABLE_CACHE |
net::LOAD_DO_NOT_SAVE_COOKIES |
net::LOAD_DO_NOT_SEND_COOKIES |
net::LOAD_DO_NOT_PROMPT_FOR_LOGIN |
- net::LOAD_DO_NOT_SEND_AUTH_DATA);
+ net::LOAD_DO_NOT_SEND_AUTH_DATA |
+ net::LOAD_FORCE_HTTP_PIPELINING);
request_.Start();
}

Powered by Google App Engine
This is Rietveld 408576698