mirror of
https://github.com/golang/go
synced 2024-11-23 16:50:06 -07:00
changing documentation to say IdleTimeout is the maximum amount to of time to wait as per the code review comments
This commit is contained in:
parent
29ca2f03a5
commit
e1cdb59977
@ -2523,7 +2523,7 @@ type Server struct {
|
||||
// let Handlers make decisions on a per-request basis.
|
||||
WriteTimeout time.Duration
|
||||
|
||||
// IdleTimeout is the amount of time to wait for the
|
||||
// IdleTimeout is the maximum amount of time to wait for the
|
||||
// next request when keep-alives are enabled. If IdleTimeout
|
||||
// is zero, the value of ReadTimeout is used. If both are
|
||||
// zero, there is no timeout.
|
||||
|
Loading…
Reference in New Issue
Block a user