allow reuse of connection IDs

fixes #347
This commit is contained in:
Marten Seemann
2017-01-07 18:17:22 +07:00
parent bf615659d6
commit 72e9994c9c
3 changed files with 40 additions and 8 deletions

View File

@@ -97,5 +97,9 @@ const MaxIdleTimeout = 1 * time.Minute
// MaxTimeForCryptoHandshake is the default timeout for a connection until the crypto handshake succeeds.
const MaxTimeForCryptoHandshake = 10 * time.Second
// ClosedSessionDeleteTimeout the server ignores packets arriving on a connection that is already closed
// after this time all information about the old connection will be deleted
const ClosedSessionDeleteTimeout = time.Minute
// NumCachedCertificates is the number of cached compressed certificate chains, each taking ~1K space
const NumCachedCertificates = 128