Skip to content

CURLOPT_SSL_CTX_FUNCTION.md: expand on effects connection reuse - #21164

Closed
bagder wants to merge 3 commits into
masterfrom
bagder/SSL_CTX-docs
Closed

bagder wants to merge 3 commits into
masterfrom
bagder/SSL_CTX-docs

Conversation

@bagder

@bagder bagder commented Mar 30, 2026

Copy link
Copy Markdown
Member

No description provided.

@bagder
bagder marked this pull request as ready for review March 30, 2026 21:49
@bagder
bagder requested a review from Copilot March 30, 2026 21:49

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.

Pull request overview

Expands the CURLOPT_SSL_CTX_FUNCTION documentation to clarify how TLS context customization interacts with libcurl’s connection pool and connection reuse.

Changes:

  • Document that connections created with the SSL context callback may be reused without the callback being invoked again.
  • Note that such pooled connections can be reused for transfers that do not set this callback.
  • Recommend CURLOPT_FORBID_REUSE(3) when the callback’s effects should not persist beyond a single transfer.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/libcurl/opts/CURLOPT_SSL_CTX_FUNCTION.md Outdated
Comment thread docs/libcurl/opts/CURLOPT_SSL_CTX_FUNCTION.md Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants