From 9cee4e4eb1314980a20a4a6347e3ac83949a5242 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Wed, 25 Nov 2020 03:21:10 -0800 Subject: [PATCH] remove response header timeout --- main.go | 1 - 1 file changed, 1 deletion(-) diff --git a/main.go b/main.go index c47d4ea..fe8b6bd 100644 --- a/main.go +++ b/main.go @@ -455,7 +455,6 @@ func clientTransport(ctx *cli.Context, enableTLS bool) http.RoundTripper { DialContext: xhttp.DialContextWithDNSCache(globalDNSCache, xhttp.NewInternodeDialContext(rest.DefaultTimeout)), MaxIdleConnsPerHost: 1024, IdleConnTimeout: 15 * time.Second, - ResponseHeaderTimeout: 3 * time.Minute, // Set conservative timeouts for MinIO internode. TLSHandshakeTimeout: 15 * time.Second, ExpectContinueTimeout: 15 * time.Second, // Set this value so that the underlying transport round-tripper