diff --git a/request.go b/request.go index dd95c63..9052644 100644 --- a/request.go +++ b/request.go @@ -21,7 +21,7 @@ var transport = &http.Transport{ MaxIdleConns: 100, // 调整为100以允许更多的连接复用 IdleConnTimeout: 60 * time.Second, TLSHandshakeTimeout: 15 * time.Second, - TLSClientConfig: &tls.Config{MinVersion: tls.VersionTLS10, InsecureSkipVerify: false}, + TLSClientConfig: &tls.Config{MinVersion: tls.VersionTLS12, InsecureSkipVerify: false}, } // DefaultClient is the default http client for got requests.