mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
Merge 7495bf4469 into 7b1aa64220
This commit is contained in:
commit
dd4e57bafe
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue