diff --git a/common/proxy.go b/common/proxy.go index 43c30a5..468a000 100644 --- a/common/proxy.go +++ b/common/proxy.go @@ -10,7 +10,7 @@ import ( ) func WrapperTcpWithTimeout(network, address string, timeout time.Duration) (net.Conn, error) { - d := &net.Dialer{Timeout: timeout/2} + d := &net.Dialer{Timeout: timeout} return WrapperTCP(network, address, d) }