net
net copied to clipboard
http2: export CloseIfIdle in ClientConn
The default HTTP2 transport ClientConnPool uses ClientConn.closeIfIdle(). Exporting the
method so that a user-provided ClientConnPool can use that as well.
This PR (HEAD: eee2987ba506fec3d9b3f366aadb67210ca8225c) has been imported to Gerrit for code review.
Please visit https://go-review.googlesource.com/c/net/+/236237 to see it.
Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info