mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-07 06:07:36 +03:00
reduce the duration we keep the mapping for retired connection IDs alive
This duration only needs to cover typical reordering on the network. 5 seconds should be plenty.
This commit is contained in:
parent
65cca7b726
commit
001f76559a
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ const DefaultHandshakeTimeout = 10 * time.Second
|
|||
|
||||
// RetiredConnectionIDDeleteTimeout is the time we keep closed sessions around in order to retransmit the CONNECTION_CLOSE.
|
||||
// after this time all information about the old connection will be deleted
|
||||
const RetiredConnectionIDDeleteTimeout = time.Minute
|
||||
const RetiredConnectionIDDeleteTimeout = 5 * time.Second
|
||||
|
||||
// MinStreamFrameSize is the minimum size that has to be left in a packet, so that we add another STREAM frame.
|
||||
// This avoids splitting up STREAM frames into small pieces, which has 2 advantages:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue