aboutsummaryrefslogtreecommitdiff
path: root/src/vendor/golang.org
diff options
context:
space:
mode:
authorNicholas S. Husin <nsh@golang.org>2025-10-02 12:41:25 -0400
committerNicholas Husin <nsh@golang.org>2025-10-02 12:52:26 -0700
commitbbdff9e8e1fca772a13acb0c4c7828cfe246d403 (patch)
tree6cd37f083916b77c30c505e28dc43fa9fca8df17 /src/vendor/golang.org
parent4008e07080ef215e46f48e5e2f6b5d37d6d9cb9f (diff)
downloadgo-bbdff9e8e1fca772a13acb0c4c7828cfe246d403.tar.xz
net/http: update bundled x/net/http2 and delete obsolete http2inTests
http2inTests is no longer needed after go.dev/cl/708135 and should be deleted. To prevent errors in future vendored dependency updates, h2_bundle.go is also updated together in this change. Change-Id: I7b8c3f6854203fab4ec639a2a268df0cd2b1dee7 Reviewed-on: https://go-review.googlesource.com/c/go/+/708595 Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Nicholas Husin <husin@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/vendor/golang.org')
-rw-r--r--src/vendor/golang.org/x/net/nettest/conntest.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vendor/golang.org/x/net/nettest/conntest.go b/src/vendor/golang.org/x/net/nettest/conntest.go
index 4297d408c0..8b98dfe21c 100644
--- a/src/vendor/golang.org/x/net/nettest/conntest.go
+++ b/src/vendor/golang.org/x/net/nettest/conntest.go
@@ -142,7 +142,7 @@ func testPingPong(t *testing.T, c1, c2 net.Conn) {
}
// testRacyRead tests that it is safe to mutate the input Read buffer
-// immediately after cancelation has occurred.
+// immediately after cancellation has occurred.
func testRacyRead(t *testing.T, c1, c2 net.Conn) {
go chunkedCopy(c2, rand.New(rand.NewSource(0)))
@@ -170,7 +170,7 @@ func testRacyRead(t *testing.T, c1, c2 net.Conn) {
}
// testRacyWrite tests that it is safe to mutate the input Write buffer
-// immediately after cancelation has occurred.
+// immediately after cancellation has occurred.
func testRacyWrite(t *testing.T, c1, c2 net.Conn) {
go chunkedCopy(io.Discard, c2)
@@ -318,7 +318,7 @@ func testCloseTimeout(t *testing.T, c1, c2 net.Conn) {
defer wg.Wait()
wg.Add(3)
- // Test for cancelation upon connection closure.
+ // Test for cancellation upon connection closure.
c1.SetDeadline(neverTimeout)
go func() {
defer wg.Done()