-
Notifications
You must be signed in to change notification settings - Fork 18.5k
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 our terms of service and privacy 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
|
This PR (HEAD: 9cd9768) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/726101. Important tips:
|
9cd9768 to
1744b71
Compare
|
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/726101. |
|
This PR (HEAD: 1744b71) has been imported to Gerrit for code review. Please visit Gerrit at https://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 by detecting that specific error and retrying with an IPv6 socket. Fixes golang#29759
1744b71 to
fb441da
Compare
|
This PR (HEAD: fb441da) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/726101. Important tips:
|
|
Message from Lin Lin: Patch Set 4: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/726101. |
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