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
net: data race on fd.sysfd #4369
Labels
Milestone
Comments
What is this bug about? Is this about changing TestRedirectCookiesOnRequest or defining the meaning of Accept's return value when a concurrent Close is called? I would hope the latter. I think Accept should return io.EOF or something when a Close comes in, and I'd like to see that documented and tested. |
Possibly https://golang.org/cl/6855047/ would suffice. I believe (but am checking now) that access to members of netFD is gated by incref/decref which already handle the closed and closing cases. |
https://golang.org/cl/6843076/ This proposal does not change the return value of Accept(). I would like to handle that on another issue, possibly https://golang.org/issue/4373. Owner changed to @davecheney. Status changed to Started. |
This issue was closed by revision c9856e7. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: