-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: Networking
-
None
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.
- is depended on by
-
GODRIVER-2623 Use a clone of the http.DefaultTransport for the internal HTTP client.
- Closed