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

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

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 | « net/http/http_network_session.h ('k') | net/http/http_stream_factory_impl_unittest.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 #include "net/http/http_network_session.h" 5 #include "net/http/http_network_session.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/atomic_sequence_num.h" 9 #include "base/atomic_sequence_num.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 quic_always_require_handshake_confirmation(false), 108 quic_always_require_handshake_confirmation(false),
109 quic_disable_connection_pooling(false), 109 quic_disable_connection_pooling(false),
110 quic_load_server_info_timeout_srtt_multiplier(0.25f), 110 quic_load_server_info_timeout_srtt_multiplier(0.25f),
111 quic_enable_connection_racing(false), 111 quic_enable_connection_racing(false),
112 quic_enable_non_blocking_io(false), 112 quic_enable_non_blocking_io(false),
113 quic_disable_disk_cache(false), 113 quic_disable_disk_cache(false),
114 quic_prefer_aes(false), 114 quic_prefer_aes(false),
115 quic_max_number_of_lossy_connections(0), 115 quic_max_number_of_lossy_connections(0),
116 quic_packet_loss_threshold(1.0f), 116 quic_packet_loss_threshold(1.0f),
117 quic_socket_receive_buffer_size(kQuicSocketReceiveBufferSize), 117 quic_socket_receive_buffer_size(kQuicSocketReceiveBufferSize),
118 quic_delay_tcp_race(false),
118 quic_max_server_configs_stored_in_properties(0u), 119 quic_max_server_configs_stored_in_properties(0u),
119 quic_clock(NULL), 120 quic_clock(NULL),
120 quic_random(NULL), 121 quic_random(NULL),
121 quic_max_packet_length(kDefaultMaxPacketSize), 122 quic_max_packet_length(kDefaultMaxPacketSize),
122 enable_user_alternate_protocol_ports(false), 123 enable_user_alternate_protocol_ports(false),
123 quic_crypto_client_stream_factory( 124 quic_crypto_client_stream_factory(
124 QuicCryptoClientStreamFactory::GetDefaultFactory()), 125 QuicCryptoClientStreamFactory::GetDefaultFactory()),
125 quic_max_recent_disabled_reasons(kQuicMaxRecentDisabledReasons), 126 quic_max_recent_disabled_reasons(kQuicMaxRecentDisabledReasons),
126 quic_threshold_public_resets_post_handshake(0), 127 quic_threshold_public_resets_post_handshake(0),
127 quic_threshold_timeouts_streams_open(0), 128 quic_threshold_timeouts_streams_open(0),
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 params.quic_enable_connection_racing, 174 params.quic_enable_connection_racing,
174 params.quic_enable_non_blocking_io, 175 params.quic_enable_non_blocking_io,
175 params.quic_disable_disk_cache, 176 params.quic_disable_disk_cache,
176 params.quic_prefer_aes, 177 params.quic_prefer_aes,
177 params.quic_max_number_of_lossy_connections, 178 params.quic_max_number_of_lossy_connections,
178 params.quic_packet_loss_threshold, 179 params.quic_packet_loss_threshold,
179 params.quic_max_recent_disabled_reasons, 180 params.quic_max_recent_disabled_reasons,
180 params.quic_threshold_public_resets_post_handshake, 181 params.quic_threshold_public_resets_post_handshake,
181 params.quic_threshold_timeouts_streams_open, 182 params.quic_threshold_timeouts_streams_open,
182 params.quic_socket_receive_buffer_size, 183 params.quic_socket_receive_buffer_size,
184 params.quic_delay_tcp_race,
183 params.quic_max_server_configs_stored_in_properties, 185 params.quic_max_server_configs_stored_in_properties,
184 params.quic_close_sessions_on_ip_change, 186 params.quic_close_sessions_on_ip_change,
185 params.disable_quic_on_timeout_with_open_streams, 187 params.disable_quic_on_timeout_with_open_streams,
186 params.quic_idle_connection_timeout_seconds, 188 params.quic_idle_connection_timeout_seconds,
187 params.quic_migrate_sessions_on_network_change, 189 params.quic_migrate_sessions_on_network_change,
188 params.quic_migrate_sessions_early, 190 params.quic_migrate_sessions_early,
189 params.quic_connection_options, 191 params.quic_connection_options,
190 params.enable_token_binding), 192 params.enable_token_binding),
191 spdy_session_pool_(params.host_resolver, 193 spdy_session_pool_(params.host_resolver,
192 params.ssl_config_service, 194 params.ssl_config_service,
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 329
328 dict->SetDouble("load_server_info_timeout_srtt_multiplier", 330 dict->SetDouble("load_server_info_timeout_srtt_multiplier",
329 params_.quic_load_server_info_timeout_srtt_multiplier); 331 params_.quic_load_server_info_timeout_srtt_multiplier);
330 dict->SetBoolean("enable_connection_racing", 332 dict->SetBoolean("enable_connection_racing",
331 params_.quic_enable_connection_racing); 333 params_.quic_enable_connection_racing);
332 dict->SetBoolean("disable_disk_cache", params_.quic_disable_disk_cache); 334 dict->SetBoolean("disable_disk_cache", params_.quic_disable_disk_cache);
333 dict->SetBoolean("prefer_aes", params_.quic_prefer_aes); 335 dict->SetBoolean("prefer_aes", params_.quic_prefer_aes);
334 dict->SetInteger("max_number_of_lossy_connections", 336 dict->SetInteger("max_number_of_lossy_connections",
335 params_.quic_max_number_of_lossy_connections); 337 params_.quic_max_number_of_lossy_connections);
336 dict->SetDouble("packet_loss_threshold", params_.quic_packet_loss_threshold); 338 dict->SetDouble("packet_loss_threshold", params_.quic_packet_loss_threshold);
337 dict->SetBoolean("delay_tcp_race", true); 339 dict->SetBoolean("delay_tcp_race", params_.quic_delay_tcp_race);
338 dict->SetInteger("max_server_configs_stored_in_properties", 340 dict->SetInteger("max_server_configs_stored_in_properties",
339 params_.quic_max_server_configs_stored_in_properties); 341 params_.quic_max_server_configs_stored_in_properties);
340 dict->SetInteger("idle_connection_timeout_seconds", 342 dict->SetInteger("idle_connection_timeout_seconds",
341 params_.quic_idle_connection_timeout_seconds); 343 params_.quic_idle_connection_timeout_seconds);
342 dict->SetBoolean("disable_preconnect_if_0rtt", 344 dict->SetBoolean("disable_preconnect_if_0rtt",
343 params_.quic_disable_preconnect_if_0rtt); 345 params_.quic_disable_preconnect_if_0rtt);
344 dict->SetBoolean("disable_quic_on_timeout_with_open_streams", 346 dict->SetBoolean("disable_quic_on_timeout_with_open_streams",
345 params_.disable_quic_on_timeout_with_open_streams); 347 params_.disable_quic_on_timeout_with_open_streams);
346 dict->SetString("disabled_reason", 348 dict->SetString("disabled_reason",
347 quic_stream_factory_.QuicDisabledReasonString()); 349 quic_stream_factory_.QuicDisabledReasonString());
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 case WEBSOCKET_SOCKET_POOL: 407 case WEBSOCKET_SOCKET_POOL:
406 return websocket_socket_pool_manager_.get(); 408 return websocket_socket_pool_manager_.get();
407 default: 409 default:
408 NOTREACHED(); 410 NOTREACHED();
409 break; 411 break;
410 } 412 }
411 return NULL; 413 return NULL;
412 } 414 }
413 415
414 } // namespace net 416 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_network_session.h ('k') | net/http/http_stream_factory_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698