mirror of
https://github.com/nodejs/node.git
synced 2025-08-16 06:08:50 +02: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:
parent
a6a3684984
commit
8d8090b9bb
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue