move congestion controller related constants to the congestion package

This commit is contained in:
Marten Seemann
2020-01-22 14:40:14 +07:00
parent 62d3a4166a
commit 31e4691ffd
9 changed files with 144 additions and 146 deletions

View File

@@ -49,10 +49,6 @@ type ApplicationErrorCode uint64
// Ethernet's max packet size is 1500 bytes, 1500 - 48 = 1452.
const MaxReceivePacketSize ByteCount = 1452
// DefaultTCPMSS is the default maximum packet size used in the Linux TCP implementation.
// Used in QUIC for congestion window computations in bytes.
const DefaultTCPMSS ByteCount = 1460
// MinInitialPacketSize is the minimum size an Initial packet is required to have.
const MinInitialPacketSize = 1200