| 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 81da996628cfd4422c28a87a25b824f827ececc8..08819813bee8b7331562279ef3505cecbc0ddf34 100644
|
| --- a/net/quic/congestion_control/tcp_cubic_sender.cc
|
| +++ b/net/quic/congestion_control/tcp_cubic_sender.cc
|
| @@ -310,13 +310,10 @@ bool TcpCubicSender::InRecovery() const {
|
| void TcpCubicSender::MaybeIncreaseCwnd(QuicPacketNumber acked_packet_number,
|
| QuicByteCount bytes_in_flight) {
|
| LOG_IF(DFATAL, InRecovery()) << "Never increase the CWND during recovery.";
|
| + // Do not increase the congestion window unless the sender is close to using
|
| + // the current window.
|
| if (!IsCwndLimited(bytes_in_flight)) {
|
| - // Do not increase the congestion window unless the sender is close to using
|
| - // the current window.
|
| - if (FLAGS_reset_cubic_epoch_when_app_limited ||
|
| - FLAGS_shift_quic_cubic_epoch_when_app_limited) {
|
| - cubic_.OnApplicationLimited();
|
| - }
|
| + cubic_.OnApplicationLimited();
|
| return;
|
| }
|
| if (congestion_window_ >= max_tcp_congestion_window_) {
|
|
|