chore: Update const type

This commit is contained in:
Larvan2 2023-01-17 12:33:15 +08:00
parent 5b1de296af
commit c90bf1c6e2

View file

@ -14,11 +14,11 @@ import (
const ( const (
// InitialMaxDatagramSize is the default maximum packet size used in QUIC for congestion window computations in bytes. // InitialMaxDatagramSize is the default maximum packet size used in QUIC for congestion window computations in bytes.
InitialMaxDatagramSize = 1252 InitialMaxDatagramSize = 1252
InitialCongestionWindow congestion.ByteCount = 10 InitialPacketSizeIPv4 = 1252
InitialPacketSizeIPv4 = 1252 InitialPacketSizeIPv6 = 1232
InitialPacketSizeIPv6 = 1232 InitialCongestionWindow = 10
DefaultBBRMaxCongestionWindow congestion.ByteCount = 10000 DefaultBBRMaxCongestionWindow = 10000
) )
const ( const (