diff options
| author | Nicholas S. Husin <nsh@golang.org> | 2025-10-02 12:41:25 -0400 |
|---|---|---|
| committer | Nicholas Husin <nsh@golang.org> | 2025-10-02 12:52:26 -0700 |
| commit | bbdff9e8e1fca772a13acb0c4c7828cfe246d403 (patch) | |
| tree | 6cd37f083916b77c30c505e28dc43fa9fca8df17 /src/net/http/internal | |
| parent | 4008e07080ef215e46f48e5e2f6b5d37d6d9cb9f (diff) | |
| download | go-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/net/http/internal')
| -rw-r--r-- | src/net/http/internal/httpcommon/httpcommon.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/http/internal/httpcommon/httpcommon.go b/src/net/http/internal/httpcommon/httpcommon.go index 5e0c24035a..e3f8ec79e0 100644 --- a/src/net/http/internal/httpcommon/httpcommon.go +++ b/src/net/http/internal/httpcommon/httpcommon.go @@ -202,7 +202,7 @@ type EncodeHeadersParam struct { DefaultUserAgent string } -// EncodeHeadersParam is the result of EncodeHeaders. +// EncodeHeadersResult is the result of EncodeHeaders. type EncodeHeadersResult struct { HasBody bool HasTrailers bool @@ -550,7 +550,7 @@ type ServerRequestResult struct { // If the request should be rejected, this is a short string suitable for passing // to the http2 package's CountError function. - // It might be a bit odd to return errors this way rather than returing an error, + // It might be a bit odd to return errors this way rather than returning an error, // but this ensures we don't forget to include a CountError reason. InvalidReason string } |
