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

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

Issue 1660593004: Landing Recent QUIC changes until 01/28/2016 18:41 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_0202
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
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') | net/quic/congestion_control/tcp_loss_algorithm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698