From 619911c15e8c14216d11b5f687f45927e4573346 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 22 Aug 2020 13:47:32 -0400 Subject: [PATCH] why am I managing timeouts --- main.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/main.go b/main.go index c669ddc..21c0649 100644 --- a/main.go +++ b/main.go @@ -52,12 +52,7 @@ func main() { frontendProxy := httputil.NewSingleHostReverseProxy(rpURL) - srv := &http.Server{ - ReadTimeout: 60 * time.Second, - WriteTimeout: 60 * time.Second, - IdleTimeout: 30 * time.Second, - ReadHeaderTimeout: 20 * time.Second, - } + srv := &http.Server{} if c.Strip == "" { if c.Log { srv.Handler = logRequest(frontendProxy)