Skip to content
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: Transport.CloseIdleConnections doesn't close idle http2 connections #13975

bradfitz opened this issue Jan 15, 2016 · 2 comments


Copy link

@bradfitz bradfitz commented Jan 15, 2016

The http.Transport is wired up with a hidden http2.Transport by default.

But http.Transport.CloseIdleConnections doesn't call the same method on the hidden http2 transport.

@bradfitz bradfitz self-assigned this Jan 15, 2016
@bradfitz bradfitz added this to the Go1.6 milestone Jan 15, 2016

This comment has been minimized.

Copy link

@gopherbot gopherbot commented Jan 15, 2016

CL mentions this issue.


This comment has been minimized.

Copy link

@gopherbot gopherbot commented Jan 15, 2016

CL mentions this issue.

gopherbot pushed a commit to golang/net that referenced this issue Jan 16, 2016
This is needed so another CL in the main repo can keep the pointer
around to pass through Transport.CloseIdleConnections from the http1

This CL doesn't modify the exported ConfigureTransport
signature. We'll use the private one in the standard library for
now. (since it gets bundled into the same package)

Updates golang/go#13975

Change-Id: I824e9ac4a44616c8c2a480f83bd3dc62bffc30e4
Reviewed-by: Andrew Gerrand <>
Run-TryBot: Brad Fitzpatrick <>
TryBot-Result: Gobot Gobot <>
@gopherbot gopherbot closed this in 01b8640 Jan 16, 2016
@golang golang locked and limited conversation to collaborators Jan 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.