OLD | NEW |
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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 double alternative_service_probability_threshold; | 114 double alternative_service_probability_threshold; |
115 | 115 |
116 // Enables NPN support. Note that ALPN is always enabled. | 116 // Enables NPN support. Note that ALPN is always enabled. |
117 bool enable_npn; | 117 bool enable_npn; |
118 | 118 |
119 // Enables Brotli Content-Encoding support. | 119 // Enables Brotli Content-Encoding support. |
120 bool enable_brotli; | 120 bool enable_brotli; |
121 | 121 |
122 // Enables QUIC support. | 122 // Enables QUIC support. |
123 bool enable_quic; | 123 bool enable_quic; |
| 124 // Disable QUIC if a connection times out with open streams. |
| 125 bool disable_quic_on_timeout_with_open_streams; |
124 // Enables QUIC for proxies. | 126 // Enables QUIC for proxies. |
125 bool enable_quic_for_proxies; | 127 bool enable_quic_for_proxies; |
126 // Instruct QUIC to use consistent ephemeral ports when talking to | 128 // Instruct QUIC to use consistent ephemeral ports when talking to |
127 // the same server. | 129 // the same server. |
128 bool enable_quic_port_selection; | 130 bool enable_quic_port_selection; |
129 // Disables QUIC's 0-RTT behavior. | 131 // Disables QUIC's 0-RTT behavior. |
130 bool quic_always_require_handshake_confirmation; | 132 bool quic_always_require_handshake_confirmation; |
131 // Disables QUIC connection pooling. | 133 // Disables QUIC connection pooling. |
132 bool quic_disable_connection_pooling; | 134 bool quic_disable_connection_pooling; |
133 // If not zero, the task to load QUIC server configs from the disk cache | 135 // If not zero, the task to load QUIC server configs from the disk cache |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 | 302 |
301 NextProtoVector next_protos_; | 303 NextProtoVector next_protos_; |
302 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 304 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
303 | 305 |
304 Params params_; | 306 Params params_; |
305 }; | 307 }; |
306 | 308 |
307 } // namespace net | 309 } // namespace net |
308 | 310 |
309 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 311 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
OLD | NEW |