Skip to content

gtls: no early return on verify fail - #23061

Closed
icing wants to merge 1 commit into
curl:masterfrom
icing:gtls-quic-verify-no-early-return
Closed

icing wants to merge 1 commit into
curl:masterfrom
icing:gtls-quic-verify-no-early-return

Conversation

@icing

@icing icing commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

When using gnutls in QUIC and peer verification fails, remove the early return so that sessions for this peer are removed from the ssl session cache.

reported-by: Joshua Rogers

When using gnutls in QUIC and peer verification fails, remove
the early return so that sessions for this peer are removed from
the ssl session cache.

reported-by: Joshua Rogers
@github-actions github-actions Bot added the HTTP/3 h3 or quic related label Sep 23, 2026
@icing
icing requested a review from bagder September 23, 2026 12:59
@bagder
bagder requested a balanced review from Copilot September 23, 2026 21:41

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.

Copilot review overview

🟢 Approval recommended

The focused change correctly preserves the verification error while allowing shared cleanup to run.

Review effort: Balanced
Findings: None

What changed in this PR

Ensures GnuTLS QUIC verification failures invalidate cached TLS sessions before returning the error.

Changes:

  • Routes GnuTLS verification failures through shared session-cache cleanup.
File Description
lib/​vquic/​vquic-tls.c Removes the premature return that bypassed cache cleanup.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@bagder bagder closed this in f46a841 Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

HTTP/3 h3 or quic related

Development

Successfully merging this pull request may close these issues.

3 participants