]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: revert change from CL 299109 breaking TestAllDependencies
authorTobias Klauser <tklauser@distanz.ch>
Sat, 13 Mar 2021 18:43:12 +0000 (19:43 +0100)
committerTobias Klauser <tobias.klauser@gmail.com>
Sat, 13 Mar 2021 19:03:29 +0000 (19:03 +0000)
This code is generated from golang.org/x/net/http2 and thus any changes
first have to occur there. Otherwise TestAllDependencies fails on the
longtest builders.

Change-Id: I918afdd9388dd28bb3c8e55438be764c4f32c7c8
Reviewed-on: https://go-review.googlesource.com/c/go/+/301491
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
TryBot-Result: Go Bot <gobot@golang.org>

src/net/http/h2_bundle.go

index feecc8ce9c1c95cb8941a4ba5f809a9858c540a5..0379848e708ab9abfa42b13cd4736c6a6b6913b7 100644 (file)
@@ -7297,7 +7297,7 @@ func (cc *http2ClientConn) canTakeNewRequestLocked() bool {
        return st.canTakeNewRequest
 }
 
-// tooIdleLocked reports whether this connection has been sitting idle
+// tooIdleLocked reports whether this connection has been been sitting idle
 // for too much wall time.
 func (cc *http2ClientConn) tooIdleLocked() bool {
        // The Round(0) strips the monontonic clock reading so the