remove old code to send an ACK every 20 packets

This was needed before QUIC 39, and should have been removed when we
dropped support for QUIC 38.
This commit is contained in:
Marten Seemann 2017-12-01 12:08:12 +07:00
parent ccd91a36b7
commit 184f81d8c4
3 changed files with 2 additions and 27 deletions

View file

@ -87,9 +87,6 @@ const MaxTrackedSentPackets = 2 * DefaultMaxCongestionWindow
// MaxTrackedReceivedAckRanges is the maximum number of ACK ranges tracked
const MaxTrackedReceivedAckRanges = DefaultMaxCongestionWindow
// MaxPacketsReceivedBeforeAckSend is the number of packets that can be received before an ACK frame is sent
const MaxPacketsReceivedBeforeAckSend = 20
// MaxNonRetransmittablePackets is the maximum number of non-retransmittable packets that we send in a row
const MaxNonRetransmittablePackets = 19