Skip to content

Commit 8c2f62c

Browse files
author
vhess
committed
enable h2 option for http2 to http2 test
1 parent 0315956 commit 8c2f62c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/test/http/proxy-http2-to-http2.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ describe("Basic example of proxying over HTTP2 to a target HTTP2 server", () =>
4646
.createServer({
4747
target: `https://localhost:${ports.http2}`,
4848
ssl,
49+
agentOptions: { allowH2: true },
4950
// without secure false, clients will fail and this is broken:
5051
secure: false,
5152
})

0 commit comments

Comments
 (0)