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

Unified Diff: net/quic/core/quic_connection.cc

Issue 2917823004: Default to BBR congestion control for QUIC. Protected by (Closed)
Patch Set: Rebased CL Created 3 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 | « no previous file | net/quic/core/quic_flags_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_connection.cc
diff --git a/net/quic/core/quic_connection.cc b/net/quic/core/quic_connection.cc
index 9106ab549fedb9af0933d450a45695f80de9df63..26f097d85d69e601776087f45da637b628d479ec 100644
--- a/net/quic/core/quic_connection.cc
+++ b/net/quic/core/quic_connection.cc
@@ -253,7 +253,12 @@ QuicConnection::QuicConnection(QuicConnectionId connection_id,
time_of_last_received_packet_(clock_->ApproximateNow()),
time_of_last_sent_new_packet_(clock_->ApproximateNow()),
last_send_for_timeout_(clock_->ApproximateNow()),
- sent_packet_manager_(perspective, clock_, &stats_, kCubicBytes, kNack),
+ sent_packet_manager_(
+ perspective,
+ clock_,
+ &stats_,
+ FLAGS_quic_reloadable_flag_quic_default_to_bbr ? kBBR : kCubicBytes,
+ kNack),
version_negotiation_state_(START_NEGOTIATION),
perspective_(perspective),
connected_(true),
« no previous file with comments | « no previous file | net/quic/core/quic_flags_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698