diff --git a/tunneldns/https_upstream.go b/tunneldns/https_upstream.go index 1c681dfc..03d7520c 100644 --- a/tunneldns/https_upstream.go +++ b/tunneldns/https_upstream.go @@ -43,7 +43,7 @@ func NewUpstreamHTTPS(endpoint string) (Upstream, error) { http2.ConfigureTransport(transport) client := &http.Client{ - Timeout: time.Second * defaultTimeout, + Timeout: defaultTimeout, Transport: transport, }