forked from quic-go/quic-go
rename the STK to Cookie
This commit is contained in:
@@ -81,8 +81,8 @@ const SkipPacketAveragePeriodLength PacketNumber = 500
|
||||
// MaxTrackedSkippedPackets is the maximum number of skipped packet numbers the SentPacketHandler keep track of for Optimistic ACK attack mitigation
|
||||
const MaxTrackedSkippedPackets = 10
|
||||
|
||||
// STKExpiryTime is the valid time of a source address token
|
||||
const STKExpiryTime = 24 * time.Hour
|
||||
// CookieExpiryTime is the valid time of a cookie
|
||||
const CookieExpiryTime = 24 * time.Hour
|
||||
|
||||
// MaxTrackedSentPackets is maximum number of sent packets saved for either later retransmission or entropy calculation
|
||||
const MaxTrackedSentPackets = 2 * DefaultMaxCongestionWindow
|
||||
|
||||
Reference in New Issue
Block a user