update http

This commit is contained in:
影舞者
2022-01-07 16:54:23 +08:00
parent dbb6f43fc1
commit 205021afec
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ func InitHttpClient(ThreadsNum int, DownProxy string, Timeout time.Duration) err
IdleConnTimeout: keepAlive,
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
TLSHandshakeTimeout: 5 * time.Second,
DisableKeepAlives: false,
DisableKeepAlives: true,
}
if DownProxy != "" {
if DownProxy == "1" {