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

Unified Diff: net/quic/core/congestion_control/tcp_cubic_sender_bytes.cc

Issue 2569723004: relnote: Protected by --quic_fix_beta_last_max. Fix conservative decrease for n-connection emulatio… (Closed)
Patch Set: Created 4 years 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/quic/core/congestion_control/tcp_cubic_sender_bytes.cc
diff --git a/net/quic/core/congestion_control/tcp_cubic_sender_bytes.cc b/net/quic/core/congestion_control/tcp_cubic_sender_bytes.cc
index 2ed7acd26a9f1007c7be6990792fdcb7826d767b..c0cef78466f14d3a847224caac82439e9d3b79c8 100644
--- a/net/quic/core/congestion_control/tcp_cubic_sender_bytes.cc
+++ b/net/quic/core/congestion_control/tcp_cubic_sender_bytes.cc
@@ -57,6 +57,11 @@ void TcpCubicSenderBytes::SetFromConfig(const QuicConfig& config,
ContainsQuicTag(config.ReceivedConnectionOptions(), kCBQT)) {
cubic_.SetFixCubicQuantization(true);
}
+ if (FLAGS_quic_fix_beta_last_max &&
+ config.HasReceivedConnectionOptions() &&
+ ContainsQuicTag(config.ReceivedConnectionOptions(), kBLMX)) {
+ cubic_.SetFixBetaLastMax(true);
+ }
}
void TcpCubicSenderBytes::SetCongestionWindowFromBandwidthAndRtt(
« no previous file with comments | « net/quic/core/congestion_control/send_algorithm_test.cc ('k') | net/quic/core/congestion_control/tcp_cubic_sender_packets.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698