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

Unified Diff: net/http/http_network_session.h

Issue 2595413002: Race preconnects to HTTP2 proxies that support alternate proxies
Patch Set: ps Created 4 years 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 0987d548b3e1a396416e03a3daf036876b9e53fa..b14b1eb342bfd64fd4352b09d65eb396f022d66a 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_proxies;
Ryan Hamilton 2017/01/23 18:05:53 The comment says this is only for HTTP2 proxies, b
tbansal1 2017/01/23 21:48:22 Done.
Ryan Hamilton 2017/01/24 19:36:59 Hm. Seems like it should work for QUIC proxies too
};
enum SocketPoolType {

Powered by Google App Engine
This is Rietveld 408576698