diff options
| author | Damien Neil <dneil@google.com> | 2026-02-27 09:34:19 -0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2026-03-12 08:09:41 -0700 |
| commit | 4498bf1a90bb693f256e991204d082f16d103eb0 (patch) | |
| tree | cae5c1fedc67b577bbc6f1c39da313daf8808886 /src/net/http/export_test.go | |
| parent | 93893efc692814a582653baa53d252efaedc286b (diff) | |
| download | go-4498bf1a90bb693f256e991204d082f16d103eb0.tar.xz | |
net/http/internal/http2: use net/http Transport and Server in tests
Update http2 tests to use a net/http Transport or Server where
possible, rather than the http2 versions of these types.
This changes tests which exercised configuring the http2
package types to now exercise the net/http configuration path.
For example, tests which set http2.Transport.DisableCompression
will now set http.Transport.DisableCompression. We don't care
about the old http2-internal configuration paths, since they
aren't accessible to users.
For #67810
Change-Id: I942c6812321fbd24c94b8aa7215dc60d6a6a6964
Reviewed-on: https://go-review.googlesource.com/c/go/+/751302
Reviewed-by: Nicholas Husin <nsh@golang.org>
Auto-Submit: 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/export_test.go')
0 files changed, 0 insertions, 0 deletions
