From: Qiuxuan Zhu Date: Fri, 23 Jun 2017 04:31:48 +0000 (+0800) Subject: net/http: Update server idleTimeout documentation X-Git-Tag: go1.9beta2~16 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=143bdc27932451200f3c8f4b304fe92ee8bba9be;p=gostls13.git net/http: Update server idleTimeout documentation Fixes #20383 Change-Id: I11234393c3beb669f87976a4f0b424bec7372b82 Reviewed-on: https://go-review.googlesource.com/46434 Reviewed-by: Brad Fitzpatrick --- diff --git a/src/net/http/server.go b/src/net/http/server.go index c1b98daabf..5447e5f89a 100644 --- a/src/net/http/server.go +++ b/src/net/http/server.go @@ -2360,7 +2360,7 @@ type Server struct { // 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. + // zero, ReadHeaderTimeout is used. IdleTimeout time.Duration // MaxHeaderBytes controls the maximum number of bytes the