| Index: net/quic/quic_unacked_packet_map.cc
|
| diff --git a/net/quic/quic_unacked_packet_map.cc b/net/quic/quic_unacked_packet_map.cc
|
| index c2b6fec8fbc095ee807e5b79ff4169c727816cf3..5f29a2b3c3b9d0434afce257eed1a2a7c30d3c4c 100644
|
| --- a/net/quic/quic_unacked_packet_map.cc
|
| +++ b/net/quic/quic_unacked_packet_map.cc
|
| @@ -13,14 +13,6 @@ using std::max;
|
|
|
| namespace net {
|
|
|
| -namespace {
|
| -
|
| -// Maximum amount of reordering before packets are considered useless for
|
| -// RTT measurement purposes.
|
| -const QuicPacketCount kMaxReorderingForRtt = 200;
|
| -
|
| -} // anonymous namespace
|
| -
|
| QuicUnackedPacketMap::QuicUnackedPacketMap()
|
| : largest_sent_packet_(0),
|
| largest_observed_(0),
|
| @@ -281,7 +273,7 @@ bool QuicUnackedPacketMap::IsPacketRemovable(
|
| QuicPacketSequenceNumber sequence_number,
|
| const TransmissionInfo& info) const {
|
| return (!IsPacketUsefulForMeasuringRtt(sequence_number, info) ||
|
| - unacked_packets_.size() > kMaxReorderingForRtt) &&
|
| + unacked_packets_.size() > kMaxTrackedPackets / 2) &&
|
| !IsPacketUsefulForCongestionControl(info) &&
|
| !IsPacketUsefulForRetransmittableData(info);
|
| }
|
|
|