Permalink
Browse files

net/http: Update server idleTimeout documentation

Fixes #20383

Change-Id: I11234393c3beb669f87976a4f0b424bec7372b82
Reviewed-on: https://go-review.googlesource.com/46434
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
  • Loading branch information...
Kinghack authored and bradfitz committed Jun 23, 2017
1 parent a6df299 commit 143bdc27932451200f3c8f4b304fe92ee8bba9be
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/net/http/server.go
View
@@ -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

0 comments on commit 143bdc2

Please sign in to comment.