diff options
Diffstat (limited to 'net/quic/quic_unacked_packet_map.cc')
-rw-r--r-- | net/quic/quic_unacked_packet_map.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/quic/quic_unacked_packet_map.cc b/net/quic/quic_unacked_packet_map.cc index be665d2..5f29a2b 100644 --- a/net/quic/quic_unacked_packet_map.cc +++ b/net/quic/quic_unacked_packet_map.cc @@ -273,7 +273,7 @@ bool QuicUnackedPacketMap::IsPacketRemovable( QuicPacketSequenceNumber sequence_number, const TransmissionInfo& info) const { return (!IsPacketUsefulForMeasuringRtt(sequence_number, info) || - unacked_packets_.size() > kMaxTcpCongestionWindow) && + unacked_packets_.size() > kMaxTrackedPackets / 2) && !IsPacketUsefulForCongestionControl(info) && !IsPacketUsefulForRetransmittableData(info); } |