Commit 8472f9bf authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Relax web server timeouts.

parent 57e08201
......@@ -30,10 +30,9 @@ func webserver() {
go func() {
server := &http.Server{
Addr: httpAddr,
ReadTimeout: 60 * time.Second,
WriteTimeout: 30 * time.Second,
IdleTimeout: 120 * time.Second,
Addr: httpAddr,
ReadHeaderTimeout: 60 * time.Second,
IdleTimeout: 120 * time.Second,
}
var err error
err = server.ListenAndServeTLS(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment