diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2026-02-10 00:56:21 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2026-02-10 01:36:10 +0300 |
| commit | c2f409c3c470b677cf9a885767ccd3a13b0f6c28 (patch) | |
| tree | 9319dae3c81f2167a809663abf93154e2f0347f4 /web/service | |
| parent | 0994f8756f18a37f222c436d3525fc39c22abb8e (diff) | |
fix security issue
Diffstat (limited to 'web/service')
| -rw-r--r-- | web/service/outbound.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/web/service/outbound.go b/web/service/outbound.go index c55999b3..ba0205e5 100644 --- a/web/service/outbound.go +++ b/web/service/outbound.go @@ -1,7 +1,6 @@ package service import ( - "crypto/tls" "encoding/json" "fmt" "io" @@ -352,7 +351,6 @@ func (s *OutboundService) testConnection(proxyPort int, testURL string) (int64, Timeout: 5 * time.Second, KeepAlive: 30 * time.Second, }).DialContext, - TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, MaxIdleConns: 1, IdleConnTimeout: 10 * time.Second, DisableCompression: true, |
