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

Unified Diff: net/url_request/url_request_context_builder.cc

Issue 1977303002: Revert of QUIC - enable "delay_tcp_race" parameter by default. This feature showed (patchset #3 id:… (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/url_request/url_request_context_builder.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_context_builder.cc
diff --git a/net/url_request/url_request_context_builder.cc b/net/url_request/url_request_context_builder.cc
index 0d59128b00dea1e684c4f6b6d9f7d160919ad8e4..8e7fcbce245286f23ebd893a22d5bf674f9f762a 100644
--- a/net/url_request/url_request_context_builder.cc
+++ b/net/url_request/url_request_context_builder.cc
@@ -186,6 +186,7 @@ URLRequestContextBuilder::HttpNetworkSessionParams::HttpNetworkSessionParams()
enable_alternative_service_with_different_host(false),
enable_quic(false),
quic_max_server_configs_stored_in_properties(0),
+ quic_delay_tcp_race(false),
quic_max_number_of_lossy_connections(0),
quic_prefer_aes(false),
quic_packet_loss_threshold(1.0f),
@@ -419,6 +420,8 @@ std::unique_ptr<URLRequestContext> URLRequestContextBuilder::Build() {
network_session_params.enable_quic = http_network_session_params_.enable_quic;
network_session_params.quic_max_server_configs_stored_in_properties =
http_network_session_params_.quic_max_server_configs_stored_in_properties;
+ network_session_params.quic_delay_tcp_race =
+ http_network_session_params_.quic_delay_tcp_race;
network_session_params.quic_max_number_of_lossy_connections =
http_network_session_params_.quic_max_number_of_lossy_connections;
network_session_params.quic_packet_loss_threshold =
« no previous file with comments | « net/url_request/url_request_context_builder.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698