From 480f4b00a9fb5bb3ccf7076d81549bf813710d2d Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Fri, 21 Feb 2020 13:51:20 +0000 Subject: [PATCH] Ensure connection read timeout is not too small --- web/web.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/web.go b/web/web.go index 990e27e1..3465009c 100644 --- a/web/web.go +++ b/web/web.go @@ -31,7 +31,7 @@ func Setup(opts *cnf.Options) (err error) { routes(s) s.SetName("web") - s.SetReadTimeout("5s") + s.SetReadTimeout("15s") s.SetWriteTimeout("60s") s.SetIdleTimeout("650s") s.SetHTTPErrorHandler(errors)