From 5fa23c671febe56b4cb9296f7899db820c02725e Mon Sep 17 00:00:00 2001 From: zhe zhang Date: Sun, 3 Oct 2021 19:40:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dsocks5=E4=BB=A3=E7=90=86?= =?UTF-8?q?=E6=9C=AA=E7=94=9F=E6=95=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tea/tea.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tea/tea.go b/tea/tea.go index ac5a7e6..2c00ed0 100644 --- a/tea/tea.go +++ b/tea/tea.go @@ -422,7 +422,7 @@ func getHttpTransport(req *Request, runtime *RuntimeObject) (*http.Transport, er Password: password, } } - dialer, err := proxy.SOCKS5(strings.ToLower(StringValue(runtime.Socks5NetWork)), socks5Proxy.String(), auth, + dialer, err := proxy.SOCKS5(strings.ToLower(StringValue(runtime.Socks5NetWork)), socks5Proxy.Host, auth, &net.Dialer{ Timeout: time.Duration(IntValue(runtime.ConnectTimeout)) * time.Millisecond, DualStack: true,