Skip to content

Commit cfc9fde

Browse files
committed
net/http: updated bundled http2 to finish trailer support
This updates the bundled copy of x/net/http2 to git rev d2ecd08 for https://golang.org/cl/17912 (http2: send client trailers) and enables the final Trailer test for http2. Fixes #13557 Change-Id: Iaa15552b82bf7a2cb01b7787a2e1ec5ee680a9d3 Reviewed-on: https://go-review.googlesource.com/17935 Run-TryBot: Brad Fitzpatrick <[email protected]> Reviewed-by: Russ Cox <[email protected]>
1 parent f172a28 commit cfc9fde

File tree

2 files changed

+96
-34
lines changed

2 files changed

+96
-34
lines changed

src/net/http/clientserver_test.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -469,10 +469,7 @@ func testCancelRequestMidBody(t *testing.T, h2 bool) {
469469

470470
// Tests that clients can send trailers to a server and that the server can read them.
471471
func TestTrailersClientToServer_h1(t *testing.T) { testTrailersClientToServer(t, h1Mode) }
472-
func TestTrailersClientToServer_h2(t *testing.T) {
473-
t.Skip("skipping in http2 mode; golang.org/issue/13557")
474-
testTrailersClientToServer(t, h2Mode)
475-
}
472+
func TestTrailersClientToServer_h2(t *testing.T) { testTrailersClientToServer(t, h2Mode) }
476473

477474
func testTrailersClientToServer(t *testing.T, h2 bool) {
478475
defer afterTest(t)

src/net/http/h2_bundle.go

Lines changed: 95 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)