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

Unified Diff: net/http/http_network_session.h

Issue 2030023005: Disable AltSvc from insecure origin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 6 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 | « no previous file | net/http/http_network_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_session.h
diff --git a/net/http/http_network_session.h b/net/http/http_network_session.h
index 41e172bedb7c8bc2d9e283271fe60ce9ee9d9391..2903c650f2fcbf11d5f8788cfeaa24b57a5510a3 100644
--- a/net/http/http_network_session.h
+++ b/net/http/http_network_session.h
@@ -99,6 +99,10 @@ class NET_EXPORT HttpNetworkSession
// Whether to enable Alt-Svc entries with hostname different than that of
// the origin.
bool enable_alternative_service_with_different_host;
+ // Only set for tests.
+ // TODO(bnc) https://crbug.com/615497:
+ // Adapt tests to https requests, remove this member.
+ bool enable_alternative_service_for_insecure_origins;
// Enables NPN support. Note that ALPN is always enabled.
bool enable_npn;
« no previous file with comments | « no previous file | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698