forked from quic-go/quic-go
add some protocol constants for congestion
This commit is contained in:
@@ -23,7 +23,12 @@ const MaxFrameSize = MaxPacketSize - (1 + 8 + 6) /*public header*/ - 1 /*private
|
|||||||
const DefaultTCPMSS = 1460
|
const DefaultTCPMSS = 1460
|
||||||
|
|
||||||
// InitialCongestionWindow is the initial congestion window in QUIC packets
|
// InitialCongestionWindow is the initial congestion window in QUIC packets
|
||||||
const InitialCongestionWindow = 32
|
const InitialCongestionWindow PacketNumber = 32
|
||||||
|
|
||||||
// MaxCongestionWindow is the maximum size of the CWND, in packets.
|
// MaxCongestionWindow is the maximum size of the CWND, in packets.
|
||||||
|
// TODO: Unused?
|
||||||
const MaxCongestionWindow PacketNumber = 200
|
const MaxCongestionWindow PacketNumber = 200
|
||||||
|
|
||||||
|
// DefaultMaxCongestionWindow is the default for the max congestion window
|
||||||
|
// Taken from Chrome
|
||||||
|
const DefaultMaxCongestionWindow PacketNumber = 107
|
||||||
|
|||||||
Reference in New Issue
Block a user