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

Unified Diff: net/http/http_network_session.h

Issue 2299703003: Re-land: Only allow HTTP/0.9 support on default ports. (Closed)
Patch Set: Fix test 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 0326e575e7a01e75b6daa402626a4e1f5f81bed1..0ee42aa37cd6b5563832df25cafbbd12d83a86d9 100644
--- a/net/http/http_network_session.h
+++ b/net/http/http_network_session.h
@@ -192,6 +192,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