Skip to content

vtls_scache: add auto-client awareness to session key - #23570

Closed
bagder wants to merge 1 commit into
masterfrom
bagder/scache-auto-client
Closed

bagder wants to merge 1 commit into
masterfrom
bagder/scache-auto-client

Conversation

@bagder

@bagder bagder commented Oct 22, 2026

Copy link
Copy Markdown
Member

Reported-by: Johnny Kao

@bagder
bagder requested a review from icing October 22, 2026 21:12
@bagder bagder added the TLS label Oct 22, 2026
@bagder
bagder requested a balanced review from Copilot October 22, 2026 21:12

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The focused change follows existing key-building patterns, with only an optional regression-test suggestion remaining.

1 open issue
What changed in this PR

This PR separates TLS session-cache keys by the effective automatic client-certificate policy, preventing configurations with different policies from sharing a key.

Changes:

  • Adds :AUTOC to the key when auto_client_cert is enabled.
  • Uses the existing error-handling path if appending the marker fails.
File Description
lib/​vtls/​vtls_scache.c Includes automatic client-certificate policy in session-key construction.

Review effort: Balanced

Comment thread lib/vtls/vtls_scache.c Resolved
@bagder
bagder marked this pull request as ready for review October 22, 2026 21:15
@Johnny-Kao

Copy link
Copy Markdown

@bagder Thank you for working on this.
Additional details provided via another channel.

@bagder bagder closed this in 12ab9f5 Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants