-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
x/net/http2: support graceful close of client connection #17292
Comments
CL https://golang.org/cl/30076 mentions this issue. |
This PR has been sitting for month now. Is there something to be done to resume the review? |
Sorry, that CL (its tests mostly) exhausted me earlier and then I forgot about it during Go 1.8 chaos. Its tests still need a bit of clarity about what they're trying to do. The test code itself might be fine now, but it's hard to tell without comments saying what the intent is. It looks like the non-test code is still fine. /cc @tombergan |
I am sorry to hear tests exhausted you :) |
Thank you @bradfitz |
@rs sorry to bother you, I want to find a proper way to use |
Our final implementation ended up not using ping. |
I'm implementing my own http2.ConnPool with some health checking done using the new
Ping()
method. My problem is that my pool doesn't have the capability to dispose client connections because there is no way to cleanly close a client connection other than keeping it'snet.Conn
on the side and abruptly close it.What about adding a
Close()
methodhttp2.ClientConn
that would send aGOAWAY
frame and wait for the in-flight streams to complete?Implementation proposal: https://go-review.googlesource.com/#/c/30076/
The text was updated successfully, but these errors were encountered: