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

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

Issue 1660143003: Fix a bug in QUIC's Slow Start Large Reduction connection option that (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@113108401
Patch Set: Created 4 years, 11 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/congestion_control/tcp_cubic_bytes_sender.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/congestion_control/tcp_cubic_sender.cc
diff --git a/net/quic/congestion_control/tcp_cubic_sender.cc b/net/quic/congestion_control/tcp_cubic_sender.cc
index 1221fd3b81afbbe0f1c3e5b696e1a0700ba172ea..c0b525079911c47e4ba4861b2a0aaf60d0981784 100644
--- a/net/quic/congestion_control/tcp_cubic_sender.cc
+++ b/net/quic/congestion_control/tcp_cubic_sender.cc
@@ -197,7 +197,7 @@ void TcpCubicSender::OnPacketLost(QuicPacketNumber packet_number,
prr_.OnPacketLost(bytes_in_flight);
// TODO(jri): Separate out all of slow start into a separate class.
- if (slow_start_large_reduction_) {
+ if (slow_start_large_reduction_ && InSlowStart()) {
DCHECK_LT(1u, congestion_window_);
congestion_window_ = congestion_window_ - 1;
} else if (reno_) {
« no previous file with comments | « net/quic/congestion_control/tcp_cubic_bytes_sender.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698