mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-06 13:47:35 +03:00
set the idle timeout during the handshake to half the handshake timeout
This commit is contained in:
parent
a6719bf417
commit
e398d5409a
3 changed files with 10 additions and 4 deletions
|
@ -119,9 +119,6 @@ const CryptoParameterMaxLength = 4000
|
|||
// EphermalKeyLifetime is the lifetime of the ephermal key during the handshake, see handshake.getEphermalKEX.
|
||||
const EphermalKeyLifetime = time.Minute
|
||||
|
||||
// InitialIdleTimeout is the timeout before the handshake succeeds.
|
||||
const InitialIdleTimeout = 5 * time.Second
|
||||
|
||||
// DefaultIdleTimeout is the default idle timeout, for the server
|
||||
const DefaultIdleTimeout = 30 * time.Second
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue