mirror of
https://github.com/nodejs/node.git
synced 2025-08-16 06:08:50 +02:00
deps: introduce llhttp
llhttp is modern, written in human-readable TypeScript, verifiable, and is very easy to maintain. See: https://github.com/indutny/llhttp PR-URL: https://github.com/nodejs/node/pull/24059 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
parent
d3f02d0da3
commit
d4654d89be
22 changed files with 7253 additions and 77 deletions
|
@ -25,7 +25,7 @@ function flushPool() {
|
|||
function demoBug(part1, part2) {
|
||||
flushPool();
|
||||
|
||||
const parser = new HTTPParser(0);
|
||||
const parser = new HTTPParser(HTTPParser.REQUEST);
|
||||
|
||||
parser.headers = [];
|
||||
parser.url = '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue