-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net: dial only connects to IPv4 addresses #1166
Labels
Comments
Yes, this is one of many such bugs in the package. The long term plan is to change package net to use the C library instead of doing so much itself, and that will address concerns like this one. Not going to touch the current code until that change is made. Owner changed to r...@golang.org. Status changed to Accepted. |
OK. This is a pity since it will mean importing C issues (such as memory management) but I cannot think of a better solution. Reimplementing everything that getaddrinfo do and keeping it in synch with the future evolutions of the libc (DNSSEC, for instance), is not reasonable. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by bortzmeyer:
Attachments:
The text was updated successfully, but these errors were encountered: