From c2f409c3c470b677cf9a885767ccd3a13b0f6c28 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Mon, 9 Feb 2026 22:56:21 +0100 Subject: fix security issue --- web/service/outbound.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'web/service') 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, -- cgit v1.2.3