aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2023-07-13 10:55:55 -0400
committerGopher Robot <gobot@golang.org>2023-07-13 15:19:15 +0000
commitd4f0d896a6856e3d6fc64d0e0714645844c59aa0 (patch)
treead4b0496094b7c4059bcb8c168fe4d5f04513e17
parent4a0f51696e3b46eb8d9b6c152b2b412bfcad1b7f (diff)
downloadgo-d4f0d896a6856e3d6fc64d0e0714645844c59aa0.tar.gz
go-d4f0d896a6856e3d6fc64d0e0714645844c59aa0.zip
net/http: revert stray edit to h2_bundle.go from CL 508996
h2_bundle.go is generated from x/net/http2, so it must not be edited manually. Change-Id: If76716ce8baf581321358734e5b8bef3541632ca Reviewed-on: https://go-review.googlesource.com/c/go/+/508922 Run-TryBot: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> Auto-Submit: Bryan Mills <bcmills@google.com>
-rw-r--r--src/net/http/h2_bundle.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/http/h2_bundle.go b/src/net/http/h2_bundle.go
index 9c0d592061..dc3e099c83 100644
--- a/src/net/http/h2_bundle.go
+++ b/src/net/http/h2_bundle.go
@@ -8007,7 +8007,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