net/http, net/http/httptest: deadlock when closing server #15521
Labels
Comments
Note that the code in question was trying to get around issue #12796, |
Ah, my fault - the client response body wasn't closed, Closing this issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Please answer these questions before submitting your issue. Thanks!
go version
)?Checked on Go tip (80e9a7f) and Go 1.6.2.
go env
)?linux/amd64
https://play.golang.org/p/jIKQ1npwUl
It should not deadlock.
It deadlocks trying to read bytes from a network connection that are never delivered.
The text was updated successfully, but these errors were encountered: