forked from quic-go/quic-go
increase the maximum congestion window to 10000 packets
This commit is contained in:
@@ -8,7 +8,7 @@ const MaxPacketSizeIPv4 = 1252
|
|||||||
// MaxPacketSizeIPv6 is the maximum packet size that we use for sending IPv6 packets.
|
// MaxPacketSizeIPv6 is the maximum packet size that we use for sending IPv6 packets.
|
||||||
const MaxPacketSizeIPv6 = 1232
|
const MaxPacketSizeIPv6 = 1232
|
||||||
|
|
||||||
const defaultMaxCongestionWindowPackets = 1000
|
const defaultMaxCongestionWindowPackets = 10000
|
||||||
|
|
||||||
// DefaultMaxCongestionWindow is the default for the max congestion window
|
// DefaultMaxCongestionWindow is the default for the max congestion window
|
||||||
const DefaultMaxCongestionWindow ByteCount = defaultMaxCongestionWindowPackets * DefaultTCPMSS
|
const DefaultMaxCongestionWindow ByteCount = defaultMaxCongestionWindowPackets * DefaultTCPMSS
|
||||||
|
|||||||
Reference in New Issue
Block a user