Skip to content

conncache: remove bundle dest - #22873

Closed
icing wants to merge 1 commit into
curl:masterfrom
icing:conncache-rm-bundle-dest
Closed

icing wants to merge 1 commit into
curl:masterfrom
icing:conncache-rm-bundle-dest

Conversation

@icing

@icing icing commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

We stored the "destination" string at each connection bundle, but it was never necessary to have it for operations. Remove the duplicated string from the bundle.

We stored the "destination" string at each connection bundle,
but it was never necessary to have it for operations. Remove
the duplicated string from the bundle.

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

Hash keys are copied internally, and destination-based bundle operations remain correct.

Pull request overview

Removes the redundant destination copy from connection-pool bundles while retaining destination-based hash lookup.

Changes:

  • Simplifies bundle allocation.
  • Uses connection destination strings for bundle lookup, insertion, and removal.
File summaries
File Description
lib/conncache.c Removes bundle destination storage and updates hash operations.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 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 337a405 Sep 8, 2026
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