- Notifications
You must be signed in to change notification settings - Fork18.7k
syscall: make LoadConnectEx not IPv4-specific on Windows#76667
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Conversation
gopherbot commentedDec 3, 2025
This PR (HEAD:9cd9768) has been imported to Gerrit for code review. Please visit Gerrit athttps://go-review.googlesource.com/c/go/+/726101. Important tips:
|
gopherbot commentedDec 3, 2025
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visitgolang.org/cl/726101. |
gopherbot commentedDec 3, 2025
This PR (HEAD:1744b71) has been imported to Gerrit for code review. Please visit Gerrit athttps://go-review.googlesource.com/c/go/+/726101. Important tips:
|
Calls to Socket in LoadConnectEx always fail with the error"An address incompatible with the requested protocol was used"when IPv4 is disabled on Windows. We can work around this bydetecting that specific error and retrying with an IPv6 socket.Fixesgolang#29759
gopherbot commentedDec 3, 2025
This PR (HEAD:fb441da) has been imported to Gerrit for code review. Please visit Gerrit athttps://go-review.googlesource.com/c/go/+/726101. Important tips:
|
gopherbot commentedDec 3, 2025
Message from Lin Lin: Patch Set 4: (1 comment) Please don’t reply on this GitHub thread. Visitgolang.org/cl/726101. |
Uh oh!
There was an error while loading.Please reload this page.
Calls to Socket in LoadConnectEx always fail with the error
"An address incompatible with the requested protocol was used"
when IPv4 is disabled on Windows. We can work around this by
detecting that specific error and retrying with an IPv6 socket.
Fixes#29759