From 33c7588b1869e73749de0a2e07fe93c8111c177c Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Fri, 20 Nov 2020 13:43:38 +0700 Subject: [PATCH] reduce the maximum number of ACK ranges --- internal/protocol/params.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/protocol/params.go b/internal/protocol/params.go index dfa7f3d6..a124f3aa 100644 --- a/internal/protocol/params.go +++ b/internal/protocol/params.go @@ -128,7 +128,7 @@ const MaxAckFrameSize ByteCount = 1000 // MaxNumAckRanges is the maximum number of ACK ranges that we send in an ACK frame. // It also serves as a limit for the packet history. // If at any point we keep track of more ranges, old ranges are discarded. -const MaxNumAckRanges = 500 +const MaxNumAckRanges = 32 // MinPacingDelay is the minimum duration that is used for packet pacing // If the packet packing frequency is higher, multiple packets might be sent at once.