Index: net/quic/congestion_control/pacing_sender.cc |
diff --git a/net/quic/congestion_control/pacing_sender.cc b/net/quic/congestion_control/pacing_sender.cc |
index 21dd4f34c0b77ca3a0612493a42b0f68cd7af56b..c5a9fa63ed77d2873165b5687ffc626d85f3daa3 100644 |
--- a/net/quic/congestion_control/pacing_sender.cc |
+++ b/net/quic/congestion_control/pacing_sender.cc |
@@ -62,7 +62,8 @@ bool PacingSender::OnPacketSent( |
if (has_retransmittable_data != HAS_RETRANSMITTABLE_DATA) { |
return in_flight; |
} |
- if (bytes_in_flight == 0) { |
+ // If in recovery, the connection is not coming out of quiescence. |
+ if (bytes_in_flight == 0 && !sender_->InRecovery()) { |
// Add more burst tokens anytime the connection is leaving quiescence, but |
// limit it to the equivalent of a single bulk write, not exceeding the |
// current CWND in packets. |