mirror of
https://github.com/nodejs/node.git
synced 2025-08-16 06:08:50 +02:00
http: refactor headersTimeout and requestTimeout logic
PR-URL: https://github.com/nodejs/node/pull/41263 Fixes: https://github.com/nodejs/node/issues/33440 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
This commit is contained in:
parent
9d6af7d1fe
commit
3caa2c1a00
33 changed files with 858 additions and 413 deletions
|
@ -27,7 +27,6 @@ const server = net.createServer((socket) => {
|
|||
{},
|
||||
0,
|
||||
0,
|
||||
1e3
|
||||
);
|
||||
|
||||
parser[HTTPParser.kOnTimeout] = common.mustNotCall();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue