mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 04:37:36 +03:00
send a NEW_TOKEN from after completing the handshake (as a server)
This commit is contained in:
parent
7c7bcede6c
commit
34543848f0
9 changed files with 97 additions and 29 deletions
|
@ -57,6 +57,9 @@ const MaxTrackedSkippedPackets = 10
|
|||
// If the queue is full, new connection attempts will be rejected.
|
||||
const MaxAcceptQueueSize = 32
|
||||
|
||||
// TokenValidity is the duration that a (non-retry) token is considered valid
|
||||
const TokenValidity = 24 * time.Hour
|
||||
|
||||
// RetryTokenValidity is the duration that a retry token is considered valid
|
||||
const RetryTokenValidity = 10 * time.Second
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue