mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
test: fix flaky http-parser-timeout-reset
Refs: https://github.com/nodejs/node/pull/34578#issuecomment-667941698 PR-URL: https://github.com/nodejs/node/pull/34609 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>
This commit is contained in:
1 parent
a6a3684984
commit
8d8090b9bb
1 file changed
+1
-1
@@ -34,7 +34,7 @@ const server = net.createServer((socket) => {
|
||||
|
||||
parser[HTTPParser.kOnHeaders] = common.mustNotCall();
|
||||
|
||||
parser[HTTPParser.kOnExecute] = common.mustCall(3);
|
||||
parser[HTTPParser.kOnExecute] = common.mustCallAtLeast(3);
|
||||
|
||||
parser[HTTPParser.kOnHeadersComplete] = common.mustCall();
|
||||
|
||||
|
||||
Reference in new issue
Block a user