]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: Update server idleTimeout documentation
authorQiuxuan Zhu <ilsh1022@gmail.com>
Fri, 23 Jun 2017 04:31:48 +0000 (12:31 +0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 23 Jun 2017 05:28:53 +0000 (05:28 +0000)
Fixes #20383

Change-Id: I11234393c3beb669f87976a4f0b424bec7372b82
Reviewed-on: https://go-review.googlesource.com/46434
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/server.go

index c1b98daabff20b26b1a7d8fd22a9db006c0d1785..5447e5f89afc3d1495c00f08b0703bfdbbbdbc59 100644 (file)
@@ -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