Fix: fix tunnel dialer

This commit is contained in:
kr328 2021-11-16 19:59:22 +08:00
parent 7058c7a4cd
commit e3e9a8ccc3

View file

@ -27,7 +27,7 @@ var client = &http.Client{
DisableKeepAlives: true, DisableKeepAlives: true,
TLSHandshakeTimeout: 10 * time.Second, TLSHandshakeTimeout: 10 * time.Second,
ExpectContinueTimeout: 1 * time.Second, ExpectContinueTimeout: 1 * time.Second,
DialContext: dialer.DefaultTunnelDialer, DialContext: dialer.DialTunnelContext,
}, },
Timeout: 60 * time.Second, Timeout: 60 * time.Second,
} }