Remove request body read timeout
@@ -62,8 +62,8 @@ func (s *Server) configureListener() *http.Server {
Handler: s.router,
// Can't have WriteTimeout set for streaming endpoints
WriteTimeout: time.Second * 0,
- ReadTimeout: time.Second * 120,
- IdleTimeout: time.Second * 60,
+ IdleTimeout: time.Second * 0,
+ ReadHeaderTimeout: time.Second * 10,
}
}
