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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_session.cc
diff --git a/net/http/http_network_session.cc b/net/http/http_network_session.cc
index 64c78d49a4c15ad2ec76d6873f5046bb1713a16a..7bf2cdb579a06a4e6686a4ffdaa051f38e3ca4fc 100644
--- a/net/http/http_network_session.cc
+++ b/net/http/http_network_session.cc
@@ -115,6 +115,7 @@
quic_max_number_of_lossy_connections(0),
quic_packet_loss_threshold(1.0f),
quic_socket_receive_buffer_size(kQuicSocketReceiveBufferSize),
+ quic_delay_tcp_race(false),
quic_max_server_configs_stored_in_properties(0u),
quic_clock(NULL),
quic_random(NULL),
@@ -180,6 +181,7 @@
params.quic_threshold_public_resets_post_handshake,
params.quic_threshold_timeouts_streams_open,
params.quic_socket_receive_buffer_size,
+ params.quic_delay_tcp_race,
params.quic_max_server_configs_stored_in_properties,
params.quic_close_sessions_on_ip_change,
params.disable_quic_on_timeout_with_open_streams,
@@ -334,7 +336,7 @@
dict->SetInteger("max_number_of_lossy_connections",
params_.quic_max_number_of_lossy_connections);
dict->SetDouble("packet_loss_threshold", params_.quic_packet_loss_threshold);
- dict->SetBoolean("delay_tcp_race", true);
+ dict->SetBoolean("delay_tcp_race", params_.quic_delay_tcp_race);
dict->SetInteger("max_server_configs_stored_in_properties",
params_.quic_max_server_configs_stored_in_properties);
dict->SetInteger("idle_connection_timeout_seconds",
« 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