mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
fix: close and drain the response body always (#8847)
This commit is contained in:
@@ -66,6 +66,7 @@ func (h *Target) startHTTPLogger() {
|
||||
|
||||
resp, err := h.client.Do(req)
|
||||
if err != nil {
|
||||
h.client.CloseIdleConnections()
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user