Fix: SOCKS5 Server timeout independant of Valid. timeout

This commit is contained in:
kayos@tcp.direct 2021-10-27 09:48:17 -07:00
parent dc757d433b
commit 9b07f278cb
Signed by: kayos
GPG Key ID: 4B841471B4BEE979

View File

@ -66,7 +66,7 @@ func (s *Swamp) checkHTTP(sock *Proxy) (string, error) {
"socks%s://%s/?timeout=%ss", "socks%s://%s/?timeout=%ss",
sock.Proto.Load().(string), sock.Proto.Load().(string),
sock.Endpoint, sock.Endpoint,
s.GetTimeoutSecondsStr()), s.GetValidationTimeoutStr()),
) )
var transportDialer = dialSocks var transportDialer = dialSocks