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

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

Issue 2569873002: relnote: Protected by --quic_fix_cubic_bytes_quantization. Fix CubicBytes Quantization. (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
« no previous file with comments | « net/quic/core/congestion_control/send_algorithm_test.cc ('k') | net/quic/core/crypto/crypto_protocol.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 dab758aa8460f7f045b6e6581033716dce32d568..ce656036bb5a237631acf8207830cc6257ebbbf9 100644
--- a/net/quic/core/congestion_control/tcp_cubic_sender_bytes.cc
+++ b/net/quic/core/congestion_control/tcp_cubic_sender_bytes.cc
@@ -52,6 +52,11 @@ void TcpCubicSenderBytes::SetFromConfig(const QuicConfig& config,
ContainsQuicTag(config.ReceivedConnectionOptions(), kCCVX)) {
cubic_.SetFixConvexMode(true);
}
+ if (FLAGS_quic_fix_cubic_bytes_quantization &&
+ config.HasReceivedConnectionOptions() &&
+ ContainsQuicTag(config.ReceivedConnectionOptions(), kCBQT)) {
+ cubic_.SetFixCubicQuantization(true);
+ }
}
void TcpCubicSenderBytes::SetCongestionWindowFromBandwidthAndRtt(
« no previous file with comments | « net/quic/core/congestion_control/send_algorithm_test.cc ('k') | net/quic/core/crypto/crypto_protocol.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698