TLSSessionManagerInMemory.this

class TLSSessionManagerInMemory
public
this
(,
size_t max_sessions = 1000
,
Duration session_lifetime = 7200.seconds
)

Parameters

rng RandomNumberGenerator

a random number generator

max_sessions size_t

a hint on the maximum number of sessions to keep in memory at any one time. (If zero, don't cap)

session_lifetime Duration

sessions are expired after this duration has elapsed from initial handshake.

Meta