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

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

Issue 1980883002: Revert of QUIC - enable "delay_tcp_race" parameter by default. This feature showed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « ios/chrome/browser/ios_chrome_io_thread.mm ('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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 // Prefer AES-GCM to ChaCha20 even if no hardware support is present. 136 // Prefer AES-GCM to ChaCha20 even if no hardware support is present.
137 bool quic_prefer_aes; 137 bool quic_prefer_aes;
138 // Specifies the maximum number of connections with high packet loss in 138 // Specifies the maximum number of connections with high packet loss in
139 // a row after which QUIC will be disabled. 139 // a row after which QUIC will be disabled.
140 int quic_max_number_of_lossy_connections; 140 int quic_max_number_of_lossy_connections;
141 // Specifies packet loss rate in fraction after which a connection is 141 // Specifies packet loss rate in fraction after which a connection is
142 // closed and is considered as a lossy connection. 142 // closed and is considered as a lossy connection.
143 float quic_packet_loss_threshold; 143 float quic_packet_loss_threshold;
144 // Size in bytes of the QUIC DUP socket receive buffer. 144 // Size in bytes of the QUIC DUP socket receive buffer.
145 int quic_socket_receive_buffer_size; 145 int quic_socket_receive_buffer_size;
146 // Delay starting a TCP connection when QUIC believes it can speak
147 // 0-RTT to a server.
148 bool quic_delay_tcp_race;
146 // Maximum number of server configs that are to be stored in 149 // Maximum number of server configs that are to be stored in
147 // HttpServerProperties, instead of the disk cache. 150 // HttpServerProperties, instead of the disk cache.
148 size_t quic_max_server_configs_stored_in_properties; 151 size_t quic_max_server_configs_stored_in_properties;
149 // If not empty, QUIC will be used for all connections to the set of 152 // If not empty, QUIC will be used for all connections to the set of
150 // origins in |origins_to_force_quic_on|. 153 // origins in |origins_to_force_quic_on|.
151 std::set<HostPortPair> origins_to_force_quic_on; 154 std::set<HostPortPair> origins_to_force_quic_on;
152 // Source of time for QUIC connections. Will be owned by QuicStreamFactory. 155 // Source of time for QUIC connections. Will be owned by QuicStreamFactory.
153 QuicClock* quic_clock; 156 QuicClock* quic_clock;
154 // Source of entropy for QUIC connections. 157 // Source of entropy for QUIC connections.
155 QuicRandom* quic_random; 158 QuicRandom* quic_random;
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 299
297 NextProtoVector next_protos_; 300 NextProtoVector next_protos_;
298 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 301 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
299 302
300 Params params_; 303 Params params_;
301 }; 304 };
302 305
303 } // namespace net 306 } // namespace net
304 307
305 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 308 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ios_chrome_io_thread.mm ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698