From e3e9a8ccc3301856486b51168c6f2d6e9ad00e1d Mon Sep 17 00:00:00 2001 From: kr328 Date: Tue, 16 Nov 2021 19:59:22 +0800 Subject: [PATCH] Fix: fix tunnel dialer --- core/src/main/golang/native/config/fetch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/golang/native/config/fetch.go b/core/src/main/golang/native/config/fetch.go index 81425cf0..6764ab31 100644 --- a/core/src/main/golang/native/config/fetch.go +++ b/core/src/main/golang/native/config/fetch.go @@ -27,7 +27,7 @@ var client = &http.Client{ DisableKeepAlives: true, TLSHandshakeTimeout: 10 * time.Second, ExpectContinueTimeout: 1 * time.Second, - DialContext: dialer.DefaultTunnelDialer, + DialContext: dialer.DialTunnelContext, }, Timeout: 60 * time.Second, }