From e1cdb599772476e0b52d9d2374c3ea3893844eb4 Mon Sep 17 00:00:00 2001 From: Raghavendra Nagaraj Date: Tue, 18 Jun 2019 12:57:16 +0530 Subject: [PATCH] changing documentation to say IdleTimeout is the maximum amount to of time to wait as per the code review comments --- src/net/http/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/http/server.go b/src/net/http/server.go index dcfa11415f..bcc283b66c 100644 --- a/src/net/http/server.go +++ b/src/net/http/server.go @@ -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.