Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
test: fix flaky test-http2-reset-flood
Set `allowHalfOpen: true` in the client.

Fixes: #29802
Refs: #31806
  • Loading branch information
Trott committed Jul 12, 2020
commit 9e95a46aaa5838e33a916fd3ccc88a902dcc9019
2 changes: 1 addition & 1 deletion test/parallel/test-http2-reset-flood.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if (process.env.HAS_STARTED_WORKER) {
process.env.HAS_STARTED_WORKER = 1;
const worker = new Worker(__filename).on('message', common.mustCall((port) => {
const h2header = Buffer.alloc(9);
const conn = net.connect(port);
const conn = net.connect({ port, allowHalfOpen: true });

conn.write('PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n');

Expand Down