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

Unified Diff: net/http/http_network_session.h

Issue 2253653002: Only allow HTTP/0.9 support on default ports. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Response to comments Created 4 years, 4 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_basic_stream.cc ('k') | 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 7089b2a0be7e5fafb5d12a79cf9c5df40c2f07fc..b70b503b11d26418ab4402bb282eab0ea575225f 100644
--- a/net/http/http_network_session.h
+++ b/net/http/http_network_session.h
@@ -190,6 +190,10 @@ class NET_EXPORT HttpNetworkSession
ProxyDelegate* proxy_delegate;
// Enable support for Token Binding.
bool enable_token_binding;
+
+ // Enable HTTP/0.9 for HTTP/HTTPS on ports other than the default one for
+ // each protocol.
+ bool http_09_on_non_default_ports_enabled;
};
enum SocketPoolType {
« no previous file with comments | « net/http/http_basic_stream.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698