mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 12:47:36 +03:00
update the connection ID after sending 10000 packets
This commit is contained in:
parent
326279894b
commit
011642e471
4 changed files with 78 additions and 1 deletions
|
@ -136,6 +136,10 @@ const DefaultConnectionIDLength = 4
|
|||
// MaxActiveConnectionIDs is the number of connection IDs that we're storing.
|
||||
const MaxActiveConnectionIDs = 4
|
||||
|
||||
// PacketsPerConnectionID is the number of packets we send using one connection ID.
|
||||
// If the peer provices us with enough new connection IDs, we switch to a new connection ID.
|
||||
const PacketsPerConnectionID = 10000
|
||||
|
||||
// AckDelayExponent is the ack delay exponent used when sending ACKs.
|
||||
const AckDelayExponent = 3
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue