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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 bool enable_http2_alternative_service_with_different_host; | 115 bool enable_http2_alternative_service_with_different_host; |
116 // Whether to enable QUIC Alt-Svc entries with hostname different than that | 116 // Whether to enable QUIC Alt-Svc entries with hostname different than that |
117 // of the origin. | 117 // of the origin. |
118 bool enable_quic_alternative_service_with_different_host; | 118 bool enable_quic_alternative_service_with_different_host; |
119 | 119 |
120 // Enables QUIC support. | 120 // Enables QUIC support. |
121 bool enable_quic; | 121 bool enable_quic; |
122 // Marks a QUIC server broken when a connection blackholes after the | 122 // Marks a QUIC server broken when a connection blackholes after the |
123 // handshake is confirmed. | 123 // handshake is confirmed. |
124 bool mark_quic_broken_when_network_blackholes; | 124 bool mark_quic_broken_when_network_blackholes; |
| 125 // Retry requests which fail with QUIC_PROTOCOL_ERROR, and mark QUIC |
| 126 // broken if the retry succeeds. |
| 127 bool retry_without_alt_svc_on_quic_errors; |
125 // Disables QUIC's 0-RTT behavior. | 128 // Disables QUIC's 0-RTT behavior. |
126 bool quic_always_require_handshake_confirmation; | 129 bool quic_always_require_handshake_confirmation; |
127 // Disables QUIC connection pooling. | 130 // Disables QUIC connection pooling. |
128 bool quic_disable_connection_pooling; | 131 bool quic_disable_connection_pooling; |
129 // If not zero, the task to load QUIC server configs from the disk cache | 132 // If not zero, the task to load QUIC server configs from the disk cache |
130 // will timeout after this value multiplied by the smoothed RTT for the | 133 // will timeout after this value multiplied by the smoothed RTT for the |
131 // server. | 134 // server. |
132 float quic_load_server_info_timeout_srtt_multiplier; | 135 float quic_load_server_info_timeout_srtt_multiplier; |
133 // Causes QUIC to race reading the server config from disk with | 136 // Causes QUIC to race reading the server config from disk with |
134 // sending an inchoate CHLO. | 137 // sending an inchoate CHLO. |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 NextProtoVector next_protos_; | 350 NextProtoVector next_protos_; |
348 | 351 |
349 Params params_; | 352 Params params_; |
350 | 353 |
351 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; | 354 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; |
352 }; | 355 }; |
353 | 356 |
354 } // namespace net | 357 } // namespace net |
355 | 358 |
356 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 359 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
OLD | NEW |