We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b282e8 commit a0681b7Copy full SHA for a0681b7
test/abort/test-http-parser-consume.js
@@ -7,7 +7,7 @@ const { spawn } = require('child_process');
7
if (process.argv[2] === 'child') {
8
// sub-process
9
const server = createServer(common.mustCall((_, res) => res.end('h')));
10
- server.listen(0, common.mustCall((s) => {
+ server.listen(0, common.mustCall(() => {
11
const rr = get({ port: server.address().port }, common.mustCall(() => {
12
// This bad input (0) should abort the parser and the process
13
rr.parser.consume(0);
0 commit comments