| 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 9ea96aed5f5b171c0c6e60ecb4c9d02b76897f51..c55d6205ef0d71098fa26af46b3434e79f048b11 100644
|
| --- a/net/quic/congestion_control/tcp_cubic_sender.cc
|
| +++ b/net/quic/congestion_control/tcp_cubic_sender.cc
|
| @@ -24,6 +24,7 @@ const QuicPacketCount kMinimumCongestionWindow = 2;
|
| const QuicByteCount kMaxSegmentSize = kDefaultTCPMSS;
|
| const int64 kInitialCongestionWindow = 10;
|
| const int kMaxBurstLength = 3;
|
| +const float kRenoBeta = 0.7f; // Reno backoff factor.
|
| } // namespace
|
|
|
| TcpCubicSender::TcpCubicSender(
|
| @@ -133,7 +134,7 @@ void TcpCubicSender::OnPacketLost(QuicPacketSequenceNumber sequence_number,
|
| prr_.OnPacketLost(bytes_in_flight);
|
|
|
| if (reno_) {
|
| - congestion_window_ = congestion_window_ >> 1;
|
| + congestion_window_ = congestion_window_ * kRenoBeta;
|
| } else {
|
| congestion_window_ =
|
| cubic_.CongestionWindowAfterPacketLoss(congestion_window_);
|
|
|