only send one ACK for every 10 retransmittable packets

This commit is contained in:
Marten Seemann
2018-01-28 17:59:37 +07:00
parent 96a31a51e5
commit fc5f54824a
2 changed files with 10 additions and 6 deletions

View File

@@ -94,7 +94,7 @@ const MaxTrackedReceivedAckRanges = DefaultMaxCongestionWindow
const MaxNonRetransmittablePackets = 19
// RetransmittablePacketsBeforeAck is the number of retransmittable that an ACK is sent for
const RetransmittablePacketsBeforeAck = 2
const RetransmittablePacketsBeforeAck = 10
// MaxStreamFrameSorterGaps is the maximum number of gaps between received StreamFrames
// prevents DoS attacks against the streamFrameSorter