Merge branch 'main' of ssh://git.makemake.in:5566/kzkzzzz/mycommon
commit
43799a9841
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue