diff --git a/proxyserver/main.go b/proxyserver/main.go index f1fcec72..0f98ac53 100644 --- a/proxyserver/main.go +++ b/proxyserver/main.go @@ -168,14 +168,14 @@ func NewBackend(mux *http.ServeMux, httpAddress string, muxPaths ...string) *Bac client := &http.Client{ Transport: &http.Transport{ DialContext: (&net.Dialer{ - Timeout: 60 * time.Second, + Timeout: 300 * time.Second, KeepAlive: 60 * time.Second, }).DialContext, ForceAttemptHTTP2: true, MaxIdleConns: 100, MaxIdleConnsPerHost: 100, - IdleConnTimeout: 90 * time.Second, - TLSHandshakeTimeout: 10 * time.Second, + IdleConnTimeout: 300 * time.Second, + TLSHandshakeTimeout: 300 * time.Second, ExpectContinueTimeout: 1 * time.Second, }, }