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

Side by Side Diff: net/http/http_network_session.h

Issue 2811993005: Revert of When HttpNetworkTransaction encounters QUIC errors, retry the request (Closed)
Patch Set: Created 3 years, 8 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
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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
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;
128 // Disables QUIC's 0-RTT behavior. 125 // Disables QUIC's 0-RTT behavior.
129 bool quic_always_require_handshake_confirmation; 126 bool quic_always_require_handshake_confirmation;
130 // Disables QUIC connection pooling. 127 // Disables QUIC connection pooling.
131 bool quic_disable_connection_pooling; 128 bool quic_disable_connection_pooling;
132 // If not zero, the task to load QUIC server configs from the disk cache 129 // If not zero, the task to load QUIC server configs from the disk cache
133 // will timeout after this value multiplied by the smoothed RTT for the 130 // will timeout after this value multiplied by the smoothed RTT for the
134 // server. 131 // server.
135 float quic_load_server_info_timeout_srtt_multiplier; 132 float quic_load_server_info_timeout_srtt_multiplier;
136 // Causes QUIC to race reading the server config from disk with 133 // Causes QUIC to race reading the server config from disk with
137 // sending an inchoate CHLO. 134 // sending an inchoate CHLO.
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 NextProtoVector next_protos_; 347 NextProtoVector next_protos_;
351 348
352 Params params_; 349 Params params_;
353 350
354 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; 351 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_;
355 }; 352 };
356 353
357 } // namespace net 354 } // namespace net
358 355
359 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 356 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW
« no previous file with comments | « components/network_session_configurator/network_session_configurator_unittest.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698