From b1f8b8f25d1bb6a35c0bba8210dbba2cd9d90dd9 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Tue, 14 Jan 2020 16:34:34 +0700 Subject: [PATCH] increase the maximum congestion window to 10000 packets --- 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 726cd18e7..f41eb227d 100644 --- a/internal/protocol/params.go +++ b/internal/protocol/params.go @@ -8,7 +8,7 @@ const MaxPacketSizeIPv4 = 1252 // MaxPacketSizeIPv6 is the maximum packet size that we use for sending IPv6 packets. const MaxPacketSizeIPv6 = 1232 -const defaultMaxCongestionWindowPackets = 1000 +const defaultMaxCongestionWindowPackets = 10000 // DefaultMaxCongestionWindow is the default for the max congestion window const DefaultMaxCongestionWindow ByteCount = defaultMaxCongestionWindowPackets * DefaultTCPMSS