fix security issue

This commit is contained in:
MHSanaei
2026-02-09 22:56:21 +01:00
parent 0994f8756f
commit c2f409c3c4
3 changed files with 14 additions and 8 deletions
-2
View File
@@ -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,