Index: net/quic/quic_sent_packet_manager.cc |
diff --git a/net/quic/quic_sent_packet_manager.cc b/net/quic/quic_sent_packet_manager.cc |
index 565797fcc9fdf1339e9bfd9de51be58e8e9593a0..5705c0b03b5c7eb3a7e7b3e312897b5697f98646 100644 |
--- a/net/quic/quic_sent_packet_manager.cc |
+++ b/net/quic/quic_sent_packet_manager.cc |
@@ -41,6 +41,9 @@ static const int64 kMinTailLossProbeTimeoutMs = 10; |
// Number of samples before we force a new recent min rtt to be captured. |
static const size_t kNumMinRttSamplesAfterQuiescence = 2; |
+// Number of unpaced packets to send after quiescence. |
+static const size_t kInitialUnpacedBurst = 10; |
+ |
bool HasCryptoHandshake(const TransmissionInfo& transmission_info) { |
if (transmission_info.retransmittable_frames == NULL) { |
return false; |
@@ -808,7 +811,8 @@ void QuicSentPacketManager::MaybeEnablePacing() { |
using_pacing_ = true; |
send_algorithm_.reset( |
new PacingSender(send_algorithm_.release(), |
- QuicTime::Delta::FromMilliseconds(5))); |
+ QuicTime::Delta::FromMilliseconds(5), |
+ kInitialUnpacedBurst)); |
} |
} // namespace net |