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

Unified Diff: net/http/http_network_session.cc

Issue 2026863002: Disable AltSvc from insecure origin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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.cc
diff --git a/net/http/http_network_session.cc b/net/http/http_network_session.cc
index 48acec9e4ac13bc95c8b4d73fccd09a4fbb98167..1d1e02c3409eee077283997447afc58543167983 100644
--- a/net/http/http_network_session.cc
+++ b/net/http/http_network_session.cc
@@ -97,6 +97,7 @@ HttpNetworkSession::Params::Params()
spdy_stream_max_recv_window_size(kSpdyStreamMaxRecvWindowSize),
time_func(&base::TimeTicks::Now),
enable_alternative_service_with_different_host(true),
+ enable_alternative_service_for_insecure_origins(false),
enable_npn(false),
enable_priority_dependencies(true),
enable_quic(false),

Powered by Google App Engine
This is Rietveld 408576698