Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: transport MaxIdleConnsPerHost does not work as expected #13801
I recently had an issue which made Go consume all ephemeral ports and start failing to do requests.
Here is a gist that triggers this behavior.
I'm running go 1.5.2 on Ubuntu Precise 12.04, kernel: Linux e-0000e768 3.8.0-44-generic #66~precise1-Ubuntu SMP Tue Jul 15 04:01:04 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux