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

Unified Diff: net/http/http_network_session.cc

Issue 1025573002: QUIC - disable QUIC if packet loss rate is bad for a connection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor comment fixes Created 5 years, 9 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
Index: net/http/http_network_session.cc
diff --git a/net/http/http_network_session.cc b/net/http/http_network_session.cc
index 80856419841cc3bf320648bb8b7367deb666dcb4..6ba9adb1231ad3a4a9c28c0d2cecf88bb1c47bdd 100644
--- a/net/http/http_network_session.cc
+++ b/net/http/http_network_session.cc
@@ -92,6 +92,8 @@ HttpNetworkSession::Params::Params()
quic_enable_connection_racing(false),
quic_enable_non_blocking_io(false),
quic_disable_disk_cache(false),
+ quic_number_of_lossy_handshakes(0),
+ quic_packet_loss_threshold(0),
quic_socket_receive_buffer_size(kDefaultSocketReceiveBuffer),
quic_clock(NULL),
quic_random(NULL),
@@ -139,6 +141,8 @@ HttpNetworkSession::HttpNetworkSession(const Params& params)
params.quic_enable_connection_racing,
params.quic_enable_non_blocking_io,
params.quic_disable_disk_cache,
+ params.quic_number_of_lossy_handshakes,
+ params.quic_packet_loss_threshold,
params.quic_socket_receive_buffer_size,
params.quic_connection_options),
spdy_session_pool_(params.host_resolver,

Powered by Google App Engine
This is Rietveld 408576698