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

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: Fixed comments for Patch Set 7 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
« no previous file with comments | « net/http/http_network_session.h ('k') | net/http/http_stream_factory_impl.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 80856419841cc3bf320648bb8b7367deb666dcb4..6a769b7f71f39941abddc7587776fec2869bd128 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_max_number_of_lossy_connections(0),
+ quic_packet_loss_threshold(1.0f),
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_max_number_of_lossy_connections,
+ params.quic_packet_loss_threshold,
params.quic_socket_receive_buffer_size,
params.quic_connection_options),
spdy_session_pool_(params.host_resolver,
« no previous file with comments | « net/http/http_network_session.h ('k') | net/http/http_stream_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698