Selaa lähdekoodia

Fix: fix tunnel dialer

kr328 4 vuotta sitten
vanhempi
commit
e3e9a8ccc3
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      core/src/main/golang/native/config/fetch.go

+ 1 - 1
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,
 }