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

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

Issue 1603203002: Add a finch trial param to disable QUIC when connection times out with open streams (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « chrome/browser/io_thread_unittest.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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_when_connection_times_out_with_open_streams;
Ryan Hamilton 2016/01/21 15:11:09 How 'bout making this a bit shorter: disable_quic
Zhongyi Shi 2016/01/21 19:43:54 Done.
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/io_thread_unittest.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698