1
0
mirror of https://github.com/golang/go synced 2024-11-23 14:40:02 -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:
Raghavendra Nagaraj 2019-06-18 12:57:16 +05:30
parent 29ca2f03a5
commit e1cdb59977

View File

@ -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.