I\'m currently struggling to find a way to reuse connections when making HTTP posts in Golang.
I\'ve created a transport and client like so:
// Crea
IIRC, the default client does reuse connections. Are you closing the response?
Callers should close resp.Body when done reading from it. If resp.Body is not closed, the Client's underlying RoundTripper (typically Transport) may not be able to re-use a persistent TCP connection to the server for a subsequent "keep-alive" request.