This commit is contained in:
yutarommx 2018-07-30 09:59:37 +00:00 committed by GitHub
commit dd4e57bafe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -167,8 +167,8 @@ func NewHTTPServer(cors []string, vhosts []string, srv *Server) *http.Server {
handler = newVHostHandler(vhosts, handler) handler = newVHostHandler(vhosts, handler)
return &http.Server{ return &http.Server{
Handler: handler, Handler: handler,
ReadTimeout: 5 * time.Second, ReadTimeout: 60 * time.Second,
WriteTimeout: 10 * time.Second, WriteTimeout: 60 * time.Second,
IdleTimeout: 120 * time.Second, IdleTimeout: 120 * time.Second,
} }
} }