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/http/httputil: unit test failure #3892
Labels
Comments
Dmitry: is threadsanitizer able to give any hits about what is broken here? I can readily reproduce this breakage at GOMAXPROCS=81, even on a dual core arm pandaboard! Labels changed: added priority-soon, removed priority-triage. Owner changed to @davecheney. Status changed to Accepted. |
Hello, Could you please try this CL http://golang.org/cl/6483061 Cheers Dave |
This issue was closed by revision f8d4bb8. Status changed to Fixed. |
davecheney
added a commit
that referenced
this issue
May 11, 2015
««« backport 3b78b41a4b50 net/http/httputil: fix race in DumpRequestOut Fixes #3892. Swapping the order of the writers inside the MultiWriter ensures the request will be written to buf before http.ReadRequest completes. The fencedBuffer is not required to make the test pass on any machine that I have access too, but as the buf is shared across goroutines, I think it is necessary for correctness. R=bradfitz, fullung, franciscossouza CC=golang-dev https://golang.org/cl/6483061 »»»
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: