From: Tobias Klauser Date: Sat, 13 Mar 2021 18:43:12 +0000 (+0100) Subject: net/http: revert change from CL 299109 breaking TestAllDependencies X-Git-Tag: go1.17beta1~1140 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=7936efecc8981fab11b445d96cdb1480d9d8208b;p=gostls13.git net/http: revert change from CL 299109 breaking TestAllDependencies 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 Run-TryBot: Tobias Klauser Reviewed-by: Emmanuel Odeke TryBot-Result: Go Bot --- diff --git a/src/net/http/h2_bundle.go b/src/net/http/h2_bundle.go index feecc8ce9c..0379848e70 100644 --- a/src/net/http/h2_bundle.go +++ b/src/net/http/h2_bundle.go @@ -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