-
Notifications
You must be signed in to change notification settings - Fork 18k
net: UDPConn.WriteMsgUDP fails on Windows XP #23072
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
Comments
What's the proper way to detect XP? |
Search for isWindowsXP in main repo. I am going to send a fix for this in a little while. Please wait. Alex |
@bradfitz do we have Windows XP trybot? Alex |
Change https://golang.org/cl/83076 mentions this issue: |
Change https://golang.org/cl/83077 mentions this issue: |
@alexbrainman, no trybot. We just have a single XP VM currently. Maybe @johnsonj will get Windows Server 2003 working on GCE and then we could have an opt-in Trybot or something. |
Cool, I will test my change here, and then we'll submit and see. Alex |
I really do not know how to fix this - I am not even sure if it is possible to fix. I am just skipping broken tests for the moment. Alex |
@alexbrainman, that's fine. |
For #23072 Change-Id: I089feafef2900413d46f2358b6e41ab78187eced Reviewed-on: https://go-review.googlesource.com/83076 Reviewed-by: Brad Fitzpatrick <[email protected]>
Parts of TestUDPConnSpecificMethods and TestWriteToUDP fail, because UDPConn.WriteMsgUDP is broken on Windows XP. UDPConn.WriteMsgUDP uses Windows WSASendMsg API, but that call is not implemented on Windows XP (see https://msdn.microsoft.com/en-us/library/windows/desktop/ms741692(v=vs.85).aspx for details) Update #23072 Change-Id: I4e8f149bc62bd87cd7c199e6832b9ce479af0a3e Reviewed-on: https://go-review.googlesource.com/83077 Run-TryBot: Alex Brainman <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]> TryBot-Result: Gobot Gobot <[email protected]>
Change https://golang.org/cl/94255 mentions this issue: |
new windows-386-xp builder on https://build.golang.org fails at commit 29cb57c
https://build.golang.org/log/e18744bedc520329ee61476194bf5020a66ba706
with
As I explained at #10267 (comment) I think we should just skip correspondent parts of the test on Windows XP.
Alex
The text was updated successfully, but these errors were encountered: