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