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

Unified Diff: net/quic/core/quic_sent_packet_manager.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 | « net/quic/core/quic_flags_list.h ('k') | net/quic/test_tools/simulator/quic_endpoint_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_sent_packet_manager.cc
diff --git a/net/quic/core/quic_sent_packet_manager.cc b/net/quic/core/quic_sent_packet_manager.cc
index 2841075baa1faec30d24a0dc4974ef2b6dd36b06..7233e5212a2db5d031dd619a6ed0a15123ec8dcf 100644
--- a/net/quic/core/quic_sent_packet_manager.cc
+++ b/net/quic/core/quic_sent_packet_manager.cc
@@ -117,6 +117,9 @@ void QuicSentPacketManager::SetFromConfig(const QuicConfig& config) {
}
} else if (config.HasClientRequestedIndependentOption(kBYTE, perspective_)) {
SetSendAlgorithm(kCubic);
+ } else if (FLAGS_quic_reloadable_flag_quic_default_to_bbr &&
+ config.HasClientRequestedIndependentOption(kQBIC, perspective_)) {
+ SetSendAlgorithm(kCubicBytes);
} else if (FLAGS_quic_reloadable_flag_quic_enable_pcc &&
config.HasClientRequestedIndependentOption(kTPCC, perspective_)) {
SetSendAlgorithm(kPCC);
« no previous file with comments | « net/quic/core/quic_flags_list.h ('k') | net/quic/test_tools/simulator/quic_endpoint_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698