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

Unified Diff: net/http/http_stream_factory_impl_job_controller.cc

Issue 2546533003: Respect QuicAllowed policy for new streams (Closed)
Patch Set: IOS io_thread also initializes DynamicSharedParams 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_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 ae7e93ab72d8984f681c9ca442076756adc7e9fc..bf6bf77200dde439f05c21f69171b2f0e071da45 100644
--- a/net/http/http_stream_factory_impl_job_controller.cc
+++ b/net/http/http_stream_factory_impl_job_controller.cc
@@ -948,7 +948,7 @@ HttpStreamFactoryImpl::JobController::GetAlternativeServiceForInternal(
}
quic_all_broken = false;
- if (!session_->params().enable_quic)
+ if (!session_->params().enable_quic())
continue;
if (!IsQuicWhitelistedForHost(origin.host()))
@@ -1048,7 +1048,7 @@ bool HttpStreamFactoryImpl::JobController::
if (alternative_proxy_server->is_quic()) {
// Check that QUIC is enabled globally, and it is not disabled.
- if (!session_->params().enable_quic ||
+ if (!session_->params().enable_quic() ||
session_->quic_stream_factory()->IsQuicDisabled()) {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698