Skip to content

Commit b2ae2f5

Browse files
dunglasneild
authored andcommitted
net/http: unskip TestEarlyHintsRequest_h2
golang/net#134 and golang/net#96 have been merged. This patch updates h2_bundle.go and enables TestEarlyHintsRequest_h2. Change-Id: Ia53fee6b3c4892a7cde10e7b62cbe7b64fa9f155 GitHub-Last-Rev: ea521b0 GitHub-Pull-Request: #52947 Reviewed-on: https://go-review.googlesource.com/c/go/+/406914 Run-TryBot: Ian Lance Taylor <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Damien Neil <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent 7607888 commit b2ae2f5

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

src/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.19
44

55
require (
66
golang.org/x/crypto v0.0.0-20220516162934-403b01795ae8
7-
golang.org/x/net v0.0.0-20220516155154-20f960328961
7+
golang.org/x/net v0.0.0-20220517181318-183a9ca12b87
88
)
99

1010
require (

src/go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ golang.org/x/crypto v0.0.0-20220516162934-403b01795ae8 h1:y+mHpWoQJNAHt26Nhh6JP7
22
golang.org/x/crypto v0.0.0-20220516162934-403b01795ae8/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
33
golang.org/x/net v0.0.0-20220516155154-20f960328961 h1:+W/iTMPG0EL7aW+/atntZwZrvSRIj3m3yX414dSULUU=
44
golang.org/x/net v0.0.0-20220516155154-20f960328961/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
5+
golang.org/x/net v0.0.0-20220517181318-183a9ca12b87 h1:cCR+9mKLOGyX4Zx+uBZDXEDAQsvKQ/XbW4vreG5v1jU=
6+
golang.org/x/net v0.0.0-20220517181318-183a9ca12b87/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
57
golang.org/x/sys v0.0.0-20220513210249-45d2b4557a2a h1:N2T1jUrTQE9Re6TFF5PhvEHXHCguynGhKjWVsIUt5cY=
68
golang.org/x/sys v0.0.0-20220513210249-45d2b4557a2a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
79
golang.org/x/text v0.3.8-0.20220509174342-b4bca84b0361 h1:h+pU/hCb7sEApigI6eII3/Emx5ZHaFWS+nulUp0Az/k=

src/net/http/clientserver_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1624,9 +1624,6 @@ func TestEarlyHintsRequest_h1(t *testing.T) { testEarlyHintsRequest(t, h1Mode) }
16241624
func TestEarlyHintsRequest_h2(t *testing.T) { testEarlyHintsRequest(t, h2Mode) }
16251625
func testEarlyHintsRequest(t *testing.T, h2 bool) {
16261626
defer afterTest(t)
1627-
if h2 {
1628-
t.Skip("Waiting for H2 support to be merged: https://go-review.googlesource.com/c/net/+/406494")
1629-
}
16301627

16311628
var wg sync.WaitGroup
16321629
wg.Add(1)

src/net/http/h2_bundle.go

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

src/vendor/modules.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ golang.org/x/crypto/curve25519/internal/field
99
golang.org/x/crypto/hkdf
1010
golang.org/x/crypto/internal/poly1305
1111
golang.org/x/crypto/internal/subtle
12-
# golang.org/x/net v0.0.0-20220516155154-20f960328961
12+
# golang.org/x/net v0.0.0-20220517181318-183a9ca12b87
1313
## explicit; go 1.17
1414
golang.org/x/net/dns/dnsmessage
1515
golang.org/x/net/http/httpguts

0 commit comments

Comments
 (0)