From 7d0518d51e53244ca0912454722484823d0f16fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edmond=20Dant=C3=A8s?= <18221510672@139.com> Date: Wed, 11 Sep 2024 10:09:11 +0800 Subject: [PATCH] Update request.go --- request.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.