Skip to content

fix: connect to bracketed IPv6 upstream addresses - #1550

Open
fhgffy wants to merge 1 commit into
abhinavsingh:developfrom
fhgffy:fix-ipv6-upstream-address
Open

fhgffy wants to merge 1 commit into
abhinavsingh:developfrom
fhgffy:fix-ipv6-upstream-address

Conversation

@fhgffy

@fhgffy fhgffy commented Oct 13, 2026

Copy link
Copy Markdown

Fixes #1487.

A bracketed IPv6 host reaches the socket helper unchanged. Linux cannot resolve that spelling, so a request to an IPv6 literal fails before connecting. Remove the URI brackets at the socket boundary while preserving the parsed URL.

The regression opens a real IPv6 loopback listener. It failed with gaierror on the original code under Linux and connects after the change.

Validation: the socket/parser test suite passes. The full Windows run has the same two failures as unmodified develop: the HTTP/2 SSL-context call and the connection-error fixture.

@pyba-chronographer pyba-chronographer Bot added the bot:chronographer:provided Used by chronographer to mark a PR as CHANGELOG provider label Oct 13, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:chronographer:provided Used by chronographer to mark a PR as CHANGELOG provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

explicitly ipv6 address targeted requests leads to proxy error

1 participant