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

Unified Diff: net/quic/congestion_control/tcp_cubic_sender_packets.cc

Issue 2005853002: Ignore the peer's receive buffer in QUIC and instead set the max CWND to 2000 packets. Protected b… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@122420070
Patch Set: Created 4 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
Index: net/quic/congestion_control/tcp_cubic_sender_packets.cc
diff --git a/net/quic/congestion_control/tcp_cubic_sender_packets.cc b/net/quic/congestion_control/tcp_cubic_sender_packets.cc
index 91918b1833364128981defc7e6b42b715daa877f..5595815f6d95a120711412bb7d0e2b005168df60 100644
--- a/net/quic/congestion_control/tcp_cubic_sender_packets.cc
+++ b/net/quic/congestion_control/tcp_cubic_sender_packets.cc
@@ -80,6 +80,7 @@ void TcpCubicSenderPackets::SetNumEmulatedConnections(int num_connections) {
void TcpCubicSenderPackets::SetMaxCongestionWindow(
QuicByteCount max_congestion_window) {
+ DCHECK(!FLAGS_quic_ignore_srbf);
max_tcp_congestion_window_ = max_congestion_window / kDefaultTCPMSS;
}

Powered by Google App Engine
This is Rietveld 408576698