Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
net: Accept() blocks forever, timeout setting doesn't work on Windows XP SP3 #23375
What version of Go are you using (
referenced this issue
Jan 8, 2018
The first step to fixing this issue is understanding what a fix might look like. I assume that Windows XP does not support
@ko80 I cannot reproduce your problem. I am using current Go tip. I changed Go network library a little (to add some debugging), like:
and I see this output
What do you see, if you make similar changes?
@alexbrainman On Windows XP SP3 I see this:
However, on Windows 7 the app outputs this:
Thank you for your efforts to fix the issue. If it would be helpful, I can give you private access to a virtual machine running my Windows XP SP3 with Go 1.9.2 installed.
@alexbrainman I've just checked the app with your patch on another installations of Windows XP SP3 and Windows XP SP2. In both cases it outputs this:
Obviously, this means my XP works in a different way. Unfortunately, I have no ideas what is wrong.
I think, the issue should be closed as it is a failure on my particular installation of Windows XP SP3.
Thanks to all for your time!
This looks strange, the only way this can happen is for
Cool, but that is not needed at this stage. I think you can debug things yourself just fine.
That looks exactly what I see here.
I am bit puzzled too.
Feel free to close the issue, if you like.