mirror of
https://github.com/jech/galene.git
synced 2024-11-22 08:35:57 +01:00
Relax web server timeouts.
This commit is contained in:
parent
57e08201ab
commit
8472f9bf0b
1 changed files with 3 additions and 4 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue