Skip to content

feat: add TLS session cache for conn resumption#507

Merged
Mzack9999 merged 3 commits into
mainfrom
dwisiswant0/feat/add-TLS-session-cache-for-conn-resumption
Dec 21, 2025
Merged

feat: add TLS session cache for conn resumption#507
Mzack9999 merged 3 commits into
mainfrom
dwisiswant0/feat/add-TLS-session-cache-for-conn-resumption

Conversation

@dwisiswant0
Copy link
Copy Markdown
Member

Automatically configure TLS ClientSessionCache
on HTTP transports to enable session ticket reuse.
This reduces TLS handshake overhead from 2-RTT to
1-RTT on reconnection and avoids repeated
asymmetric crypto ops.

Default cache size is 1024 entries per transport.
Configurable via Options.TLSSessionCacheSize.

Closes #506.

Automatically configure TLS `ClientSessionCache`
on HTTP transports to enable session ticket reuse.
This reduces TLS handshake overhead from 2-RTT to
1-RTT on reconnection and avoids repeated
asymmetric crypto ops.

Default cache size is 1024 entries per transport.
Configurable via `Options.TLSSessionCacheSize`.

Closes #506.

Signed-off-by: Dwi Siswanto <git@dw1.io>
Comment thread buggyhttp/buggyhttp.go
@Mzack9999 Mzack9999 merged commit ec69820 into main Dec 21, 2025
7 checks passed
@Mzack9999 Mzack9999 deleted the dwisiswant0/feat/add-TLS-session-cache-for-conn-resumption branch December 21, 2025 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Automatically integrate TLS session cache for HTTP clients

3 participants