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

Unified Diff: net/http/http_stream_factory_impl_job_controller.cc

Issue 2320313003: Revert of Remove obsolete QUIC disabling code. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « net/http/http_stream_factory_impl_job.cc ('k') | net/http/http_stream_factory_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_stream_factory_impl_job_controller.cc
diff --git a/net/http/http_stream_factory_impl_job_controller.cc b/net/http/http_stream_factory_impl_job_controller.cc
index d9c4b6e774c593d67ccac6d889b20b5dec3dca96..0083cc433832a126fd423fae0f82e14f04297ec6 100644
--- a/net/http/http_stream_factory_impl_job_controller.cc
+++ b/net/http/http_stream_factory_impl_job_controller.cc
@@ -908,7 +908,8 @@
continue;
}
- if (session_->quic_stream_factory()->IsQuicDisabled())
+ if (session_->quic_stream_factory()->IsQuicDisabled(
+ alternative_service.port))
continue;
if (!original_url.SchemeIs("https"))
@@ -996,9 +997,11 @@
}
if (alternative_proxy_server->is_quic()) {
- // Check that QUIC is enabled globally, and it is not disabled.
+ // Check that QUIC is enabled globally, and it is not disabled on
+ // the specified port.
if (!session_->params().enable_quic ||
- session_->quic_stream_factory()->IsQuicDisabled()) {
+ session_->quic_stream_factory()->IsQuicDisabled(
+ alternative_proxy_server->host_port_pair().port())) {
return false;
}
}
« no previous file with comments | « net/http/http_stream_factory_impl_job.cc ('k') | net/http/http_stream_factory_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698