Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
AFAIK, draining the response body if not used is no longer required. The body is read with for the re-use in the req.Body.Close() method.
In addition, the issue with the re-use of HTTP/1 gzipped connections has been fixed in Go 1.7. That issue was the primary reason why numerous Golang libraries where http.Client was used were draining unused connections in the first place. Check out this PR in the Google's Github API client written in Go.
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.