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

Unified Diff: net/http/http_network_session.h

Issue 2595413002: Race preconnects to HTTP2 proxies that support alternate proxies
Patch Set: Rebased, rch comments Created 3 years, 11 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_network_session.h
diff --git a/net/http/http_network_session.h b/net/http/http_network_session.h
index bf6436896aa716ebe199988b7c39c18023f345b3..6ac59f53befa9b0502140071644736037761da01 100644
--- a/net/http/http_network_session.h
+++ b/net/http/http_network_session.h
@@ -207,6 +207,9 @@ class NET_EXPORT HttpNetworkSession
// If true, only one pending preconnect is allowed to proxies that support
// request priorities.
bool restrict_to_one_preconnect_for_proxies;
+ // If true, preconnect jobs to HTTP2 proxies are raced with an alternative
+ // job if the proxy supports an alternative proxy.
+ bool race_preconnects_to_http2_proxies;
};
enum SocketPoolType {

Powered by Google App Engine
This is Rietveld 408576698