We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e3f6f3 commit 9e95a46Copy full SHA for 9e95a46
test/parallel/test-http2-reset-flood.js
@@ -28,7 +28,7 @@ if (process.env.HAS_STARTED_WORKER) {
28
process.env.HAS_STARTED_WORKER = 1;
29
const worker = new Worker(__filename).on('message', common.mustCall((port) => {
30
const h2header = Buffer.alloc(9);
31
- const conn = net.connect(port);
+ const conn = net.connect({ port, allowHalfOpen: true });
32
33
conn.write('PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n');
34
0 commit comments