HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduletls-session-manager-0.0.8Haskell2010

Network.TLS.SessionManager

In-memory TLS 1.2/1.3 session manager.

  • Limitation: you can set the maximum size of the session data database.

  • Automatic pruning: old session data over their lifetime are pruned automatically.

  • Energy saving: no dedicate pruning thread is running when the size of session data database is zero.

  • Replay resistance: each session data is used at most once to prevent replay attacks against 0RTT early data of TLS 1.3.

  • 1 type
  • 5 values
datadata Config
#

Configuration for session managers.

valuedefaultConfig :: Config
#

ticketLifetime: 2 hours (7200 seconds), pruningDelay: 10 minutes (600 seconds), dbMaxSize: 1000 entries.