From 898d7144f1369e30c92b2fbbd1cc7139c4e5cca3 Mon Sep 17 00:00:00 2001 From: lzf Date: Tue, 19 Aug 2025 15:31:43 +0800 Subject: [PATCH] update --- myhttp/httpc/httpclient.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/myhttp/httpc/httpclient.go b/myhttp/httpc/httpclient.go index 5ede614..10eaf0d 100644 --- a/myhttp/httpc/httpclient.go +++ b/myhttp/httpc/httpclient.go @@ -50,7 +50,7 @@ func NewTransport(maxConn int, idleTimeout time.Duration) *http.Transport { tr.MaxIdleConnsPerHost = maxConn tr.IdleConnTimeout = idleTimeout tr.DisableKeepAlives = false - tr.ResponseHeaderTimeout = time.Second * 10 + //tr.ResponseHeaderTimeout = time.Second * 10 //tr.TLSClientConfig = &tls.Config{InsecureSkipVerify: false} return tr }