Skip to content

connection reuse: age check - #22671

Closed
icing wants to merge 1 commit into
curl:masterfrom
icing:conn-reuse-age-check
Closed

icing wants to merge 1 commit into
curl:masterfrom
icing:conn-reuse-age-check

Conversation

@icing

@icing icing commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

If a transfer has CURLOPT_MAXLIFETIME_CONN set, verify the connection age of a matched connection before reuse, independent if it is currently in use (for multiplexed connections).

If a transfer has CURLOPT_MAXLIFETIME_CONN set, verify the connection
age of a matched connection before reuse, independent if it is currently
in use (for multiplexed connections).
@icing
icing requested a review from bagder August 25, 2026 14:50

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

Applies maximum connection lifetime checks to multiplexed connections before reuse.

Changes:

  • Rejects aged matching connections.
  • Closes aged connections when idle.

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

Comment thread lib/url.c
Comment thread lib/url.c
@bagder bagder closed this in 72766ec Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants