Skip to content

transport: handle ipv6 endpoints when tls is enabled - #2423

Open
bouk wants to merge 3 commits into
grpc:masterfrom
bouk:bouk/normalize-ipv6-host
Open

transport: handle ipv6 endpoints when tls is enabled#2423
bouk wants to merge 3 commits into
grpc:masterfrom
bouk:bouk/normalize-ipv6-host

Conversation

@bouk

@bouk bouk commented Oct 9, 2025

Copy link
Copy Markdown

Fixes #2422 see that issue for context

@bouk
bouk force-pushed the bouk/normalize-ipv6-host branch from fbb1904 to 4ee843b Compare October 9, 2025 13:16
@nathanielford

Copy link
Copy Markdown
Contributor

Hey @bouk ! I'm a maintainer on grpc-rust, and am going through old PRs as we halt development on tonic in favor of the new official library. It looks like this was never merged, despite being a reproducible issue. (I had Gemini reproduce it, putting the report and code on this branch: https://github.com/nathanielford/grpc-rust-testbed/tree/repro/ipv6-tls-pr2423

I went ahead and merged all the changes from master and moved the code you wrote to the function (build_tls_connector()) that is now called in two places for this work (there was only one when you originally wrote it). If it looks good to you, I can try and get this reviewed and merged. Let me know!

@bouk

bouk commented Aug 28, 2026

Copy link
Copy Markdown
Author

Yeah sounds good!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Configuring TLS doesn't work if IPv6 IP address is passed in

2 participants