Merge branch 'main' of ssh://git.makemake.in:5566/kzkzzzz/mycommon

main
kzkzzzz 2025-09-14 00:19:43 +08:00
commit 43799a9841
1 changed files with 1 additions and 1 deletions

View File

@ -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
}