From 9f27655182a464daba4602793c63bf1219350ca8 Mon Sep 17 00:00:00 2001 From: ccreater <1126774947@qq.com> Date: Mon, 9 May 2022 13:26:42 +0800 Subject: [PATCH] beautify --- common/proxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }