-
Notifications
You must be signed in to change notification settings - Fork 18.1k
net/http: close of closed channel #13924
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
Thanks for the report! I see how this regressed. The fix is trivial. Adding a test is a bit more work. |
Great, thanks! |
CL https://golang.org/cl/18571 mentions this issue. |
(still need to bundle into std) |
May I ask does Go1.6 has fixed this bug? We use Go1.5 and meet this bug also. |
Yes, this is fixed in Go 1.6. In general, please do not use the issue tracker to ask questions. See https://golang.org/wiki/Questions . Thanks. |
When an active http2 connection closed, a stream's done channel could be closed twice and panic. Fixes golang/go#13924 Change-Id: I5e050b2788070321131ca2756a899f968e9bc0b2 Reviewed-on: https://go-review.googlesource.com/18571 Reviewed-by: Andrew Gerrand <[email protected]>
Update bundled http2 to git rev 76365a4 for https://golang.org/issue/18571 Fixes golang/go#13924 Change-Id: Ibb48cd6935b35d9965df70fb8761be5986d79ffc Reviewed-on: https://go-review.googlesource.com/18591 Reviewed-by: Brad Fitzpatrick <[email protected]>
Since pulling the latest on master branch (109d54a) yesterday I started seeing the below. Did not see them in 1.6 beta 1 distribution.
Probably 1000 - 1500 requests were processing, then the above was logged for each. But the program did not exit.
I am unsure if this is an issue, i.e. if this is an internal error or caused by calling code.
The text was updated successfully, but these errors were encountered: