Details
-
Improvement
-
Resolution: Fixed
-
Minor - P4
-
None
-
None
Description
Right now, http.DefaultClient is used which can leave lingering goroutines until CloseIdleConnections is called. This is not desirable in multi-tenant applications or daemonized applications managed by the same go process. Preferably, a ClientContext like method that supplies anĀ http.Client or http.Transport could be created for this purpose; a new option would also work as well, but may be a little bloaty.
Attachments
Issue Links
- is depended on by
-
GODRIVER-2623 Use a clone of the http.DefaultTransport for the internal HTTP client.
-
- Closed
-