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: memory leak in http.Transport #5794

Closed
gopherbot opened this issue Jun 26, 2013 · 3 comments
Closed

net/http: memory leak in http.Transport #5794

gopherbot opened this issue Jun 26, 2013 · 3 comments

Comments

@gopherbot
Copy link

by pkulak:

What steps will reproduce the problem?

getIdleConnCh() is called for every round trip (called by getConn, which is called by
RoundTrip), regardless of weather keepAlives are on. In my case, with an app that's
connecting to hundreds of thousands of different hosts, that idleConnCh map just keeps
filling up and filling up forever.


Which operating system are you using?

OSX and Ubuntu


Which version are you using?  (run 'go version')

"go version go1.1 darwin/amd64"
"go version go1.1.1 linux/amd64"
@bradfitz
Copy link
Contributor

Comment 1:

Owner changed to @bradfitz.

Status changed to Accepted.

@bradfitz
Copy link
Contributor

Comment 2:

Thanks! Fix out for review: https://golang.org/cl/10747044

Status changed to Started.

@bradfitz
Copy link
Contributor

Comment 3:

This issue was closed by revision 46161cd.

Status changed to Fixed.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants