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

Unified Diff: net/http/http_network_session.cc

Issue 1326763007: QUIC - Disable QUIC when there is bad packet loss rate (50% of the (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unit tests and merge with TOT Created 5 years, 3 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 | « chrome/browser/io_thread_unittest.cc ('k') | no next file » | 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 6221562a9ffe2e4c7d52a32d47fcbbde2dc441ee..8d82f8f67eb6797680689abda529f5c66fa83558 100644
--- a/net/http/http_network_session.cc
+++ b/net/http/http_network_session.cc
@@ -104,8 +104,8 @@ HttpNetworkSession::Params::Params()
quic_enable_non_blocking_io(false),
quic_disable_disk_cache(false),
quic_prefer_aes(false),
- quic_max_number_of_lossy_connections(0),
- quic_packet_loss_threshold(1.0f),
+ quic_max_number_of_lossy_connections(4),
+ quic_packet_loss_threshold(0.5f),
quic_socket_receive_buffer_size(kQuicSocketReceiveBufferSize),
quic_clock(NULL),
quic_random(NULL),
« no previous file with comments | « chrome/browser/io_thread_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698