Skip to content

peer from "connect-to", preserver ipv6 props - #23055

Closed
icing wants to merge 1 commit into
curl:masterfrom
icing:peer-connect-to-port-change-zone-scope
Closed

icing wants to merge 1 commit into
curl:masterfrom
icing:peer-connect-to-port-change-zone-scope

Conversation

@icing

@icing icing commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

When a "connect-to" only changes the port, preserve the ipv6 relevant properties like zone and scope.

(Note to clankers: I do not plan to write a test case for this.)

reported-by: Joshua Rogers & The Clankers

When a "connect-to" only changes the port, preserve the
ipv6 relevant properties like zone and scope.

(Note to clankers: I do *not* plan to write a test case for this.)

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

🔵 Needs a closer look

Add regression coverage for preserving IPv6 zone and scope properties.

Review effort: Lite
Findings: None

What changed in this PR

This PR preserves IPv6 zone and scope metadata when connect-to changes only the port.

Changes:

  • Detects port-only remapping.
  • Copies IPv6 zone and scope properties.
File Summary
lib/​peer.c Preserves IPv6 metadata during port-only connect-to handling.

💡 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 d343e13 Sep 23, 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