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

Side by Side 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, 3 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_HTTP_HTTP_NETWORK_SESSION_H_ 5 #ifndef NET_HTTP_HTTP_NETWORK_SESSION_H_
6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_ 6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 // If true, bidirectional streams over QUIC will be disabled. 183 // If true, bidirectional streams over QUIC will be disabled.
184 bool quic_disable_bidirectional_streams; 184 bool quic_disable_bidirectional_streams;
185 // If true, enable force HOL blocking. For measurement purposes. 185 // If true, enable force HOL blocking. For measurement purposes.
186 bool quic_force_hol_blocking; 186 bool quic_force_hol_blocking;
187 // If true, race cert verification with host resolution. 187 // If true, race cert verification with host resolution.
188 bool quic_race_cert_verification; 188 bool quic_race_cert_verification;
189 189
190 ProxyDelegate* proxy_delegate; 190 ProxyDelegate* proxy_delegate;
191 // Enable support for Token Binding. 191 // Enable support for Token Binding.
192 bool enable_token_binding; 192 bool enable_token_binding;
193
194 // Enable HTTP/0.9 for HTTP/HTTPS on ports other than the default one for
195 // each protocol.
196 bool http_09_on_non_default_ports_enabled;
193 }; 197 };
194 198
195 enum SocketPoolType { 199 enum SocketPoolType {
196 NORMAL_SOCKET_POOL, 200 NORMAL_SOCKET_POOL,
197 WEBSOCKET_SOCKET_POOL, 201 WEBSOCKET_SOCKET_POOL,
198 NUM_SOCKET_POOL_TYPES 202 NUM_SOCKET_POOL_TYPES
199 }; 203 };
200 204
201 explicit HttpNetworkSession(const Params& params); 205 explicit HttpNetworkSession(const Params& params);
202 ~HttpNetworkSession(); 206 ~HttpNetworkSession();
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 309 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
306 310
307 Params params_; 311 Params params_;
308 312
309 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; 313 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_;
310 }; 314 };
311 315
312 } // namespace net 316 } // namespace net
313 317
314 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 318 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW
« 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