update
This commit is contained in:
@@ -50,6 +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.TLSClientConfig = &tls.Config{InsecureSkipVerify: false}
|
||||
return tr
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user