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

Unified Diff: net/http/http_stream_factory_impl.cc

Issue 2850653002: Enable NetProxyPreconnects experiment by default (Closed)
Patch Set: Created 3 years, 8 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: net/http/http_stream_factory_impl.cc
diff --git a/net/http/http_stream_factory_impl.cc b/net/http/http_stream_factory_impl.cc
index 48bfd1ddbf6f9d87ad0bd5a3cc3de8d4557795c6..f1cedf02f7fcaa4d19f131adbd18734834b198eb 100644
--- a/net/http/http_stream_factory_impl.cc
+++ b/net/http/http_stream_factory_impl.cc
@@ -300,10 +300,8 @@ bool HttpStreamFactoryImpl::OnInitConnection(const JobController& controller,
return false;
}
- if (!session_->params().restrict_to_one_preconnect_for_proxies ||
- !ProxyServerSupportsPriorities(proxy_info)) {
+ if (!ProxyServerSupportsPriorities(proxy_info))
return false;
- }
PreconnectingProxyServer preconnecting_proxy_server(proxy_info.proxy_server(),
privacy_mode);

Powered by Google App Engine
This is Rietveld 408576698