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

Unified Diff: net/http/http_stream_factory_impl_job.cc

Issue 2546533003: Respect QuicAllowed policy for new streams (Closed)
Patch Set: Fixed accesses to iothread globals from UI thread 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_stream_factory_impl_job.cc
diff --git a/net/http/http_stream_factory_impl_job.cc b/net/http/http_stream_factory_impl_job.cc
index 3190b9141ad97b6d216a1b1295f3edaa475375ab..909f564d91b72202ae01115da4e9477b8d04380f 100644
--- a/net/http/http_stream_factory_impl_job.cc
+++ b/net/http/http_stream_factory_impl_job.cc
@@ -736,7 +736,7 @@ int HttpStreamFactoryImpl::Job::DoResolveProxyComplete(int result) {
ProxyServer::SCHEME_HTTPS | ProxyServer::SCHEME_SOCKS4 |
ProxyServer::SCHEME_SOCKS5;
- if (session_->params().enable_quic)
+ if (session_->params().is_enable_quic_for_new_streams())
Bence 2016/12/02 18:53:26 I believe this should be gated on both: if (sessio
pmarko 2016/12/08 17:02:00 The way I've done it in my first attempt is that e
Bence 2016/12/08 17:41:59 Okay, I see. I think what you are doing is fine.
pmarko 2016/12/08 19:56:54 OK thanks! I've added that information to the meth
supported_proxies |= ProxyServer::SCHEME_QUIC;
proxy_info_.RemoveProxiesWithoutScheme(supported_proxies);

Powered by Google App Engine
This is Rietveld 408576698