-
Notifications
You must be signed in to change notification settings - Fork 3
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
Feature Request: Force IPv4 or IPv6 flag #6
Comments
Work-aroundSet the
Note that masks must be /32 and /128. |
It is not so easy (anymore) to enforce ipv6/ipv4 in go. They are using "Happy Eyeballs" which means; try ipv6 first, Fast Fallback to ipv4 if it doesn't work. See; https://godoc.org/net#Dialer I am sure it can be done in some way but if the work-around above is enough I will let this issue rest for some time. |
An update on this issue. We are actively using the proposed WA (srccidr flag) since a few weeks back and it seems to work fine for our purposes.
If this is too tricky to improve, then you can close this issue. |
I document the |
What is missing?
For testing purposes when using the kahttp client it would be helpful with a flag that can force the client to connect over specific IPfamily only. This so that a host that should be reachable over both IPfamilies can be tested properly.
Suggestion
Similar flags exist in curl and wget
The text was updated successfully, but these errors were encountered: