]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: unskip TestDisableContentLength/h2
authorDmitri Shuralyov <dmitshur@golang.org>
Fri, 14 Feb 2025 00:15:49 +0000 (19:15 -0500)
committerGopher Robot <gobot@golang.org>
Fri, 14 Feb 2025 17:11:01 +0000 (09:11 -0800)
h2_bundle.go has been updated.

Change-Id: I055b8db9aab964621c980e4731011c89f7694405
Reviewed-on: https://go-review.googlesource.com/c/go/+/649496
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>

src/net/http/serve_test.go

index e551732016e81e6b4197288de85105123fc9026e..89fcbd1329b1f540cd577690727399168005d1f6 100644 (file)
@@ -7128,10 +7128,6 @@ func testHeadBody(t *testing.T, mode testMode, chunked bool, method string) {
 // or disabled when the header is set to nil.
 func TestDisableContentLength(t *testing.T) { run(t, testDisableContentLength) }
 func testDisableContentLength(t *testing.T, mode testMode) {
-       if mode == http2Mode {
-               t.Skip("skipping until h2_bundle.go is updated; see https://go-review.googlesource.com/c/net/+/471535")
-       }
-
        noCL := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
                w.Header()["Content-Length"] = nil // disable the default Content-Length response
                fmt.Fprintf(w, "OK")