Skip to content

CURLOPT_SSL_CTX_FUNCTION.md: expand on effects connection reuse#21164

Closed
bagder wants to merge 3 commits intomasterfrom
bagder/SSL_CTX-docs
Closed

CURLOPT_SSL_CTX_FUNCTION.md: expand on effects connection reuse#21164
bagder wants to merge 3 commits intomasterfrom
bagder/SSL_CTX-docs

Conversation

@bagder
Copy link
Copy Markdown
Member

@bagder bagder commented Mar 30, 2026

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
Copy link
Copy Markdown

Copilot AI left a comment

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
@bagder bagder closed this in 2f93a0e Mar 31, 2026
@bagder bagder deleted the bagder/SSL_CTX-docs branch April 3, 2026 20:30
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