update
parent
866b2cf1ed
commit
898d7144f1
|
@ -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