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

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

Issue 2789093003: Mark QUIC broken when the network blackholes after the handshake (Closed)
Patch Set: jana's comments 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
« no previous file with comments | « net/base/net_error_list.h ('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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 SpdySessionPool::TimeFunc time_func; 112 SpdySessionPool::TimeFunc time_func;
113 // Whether to enable HTTP/2 Alt-Svc entries with hostname different than 113 // Whether to enable HTTP/2 Alt-Svc entries with hostname different than
114 // that of the origin. 114 // that of the origin.
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
123 // handshake is confirmed.
124 bool mark_quic_broken_when_network_blackholes;
122 // Disables QUIC's 0-RTT behavior. 125 // Disables QUIC's 0-RTT behavior.
123 bool quic_always_require_handshake_confirmation; 126 bool quic_always_require_handshake_confirmation;
124 // Disables QUIC connection pooling. 127 // Disables QUIC connection pooling.
125 bool quic_disable_connection_pooling; 128 bool quic_disable_connection_pooling;
126 // 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
127 // 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
128 // server. 131 // server.
129 float quic_load_server_info_timeout_srtt_multiplier; 132 float quic_load_server_info_timeout_srtt_multiplier;
130 // Causes QUIC to race reading the server config from disk with 133 // Causes QUIC to race reading the server config from disk with
131 // sending an inchoate CHLO. 134 // sending an inchoate CHLO.
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 NextProtoVector next_protos_; 347 NextProtoVector next_protos_;
345 348
346 Params params_; 349 Params params_;
347 350
348 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; 351 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_;
349 }; 352 };
350 353
351 } // namespace net 354 } // namespace net
352 355
353 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 356 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW
« no previous file with comments | « net/base/net_error_list.h ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698