Home
last modified time | relevance | path

Searched refs:HTTPParser (Results 1 – 20 of 20) sorted by relevance

/third_party/node/test/parallel/
Dtest-http-parser-timeout-reset.js5 const { HTTPParser } = process.binding('http_parser');
24 const parser = new HTTPParser(HTTPParser.RESPONSE, false);
26 HTTPParser.RESPONSE,
32 parser[HTTPParser.kOnTimeout] = common.mustNotCall();
34 parser[HTTPParser.kOnHeaders] = common.mustNotCall();
36 parser[HTTPParser.kOnExecute] = common.mustCallAtLeast(3);
38 parser[HTTPParser.kOnHeadersComplete] = common.mustCall();
40 parser[HTTPParser.kOnBody] = common.mustCall(2);
42 parser[HTTPParser.kOnMessageComplete] = common.mustNotCall();
Dtest-http-parser-bad-ref.js9 const { HTTPParser } = require('_http_common');
11 const kOnHeaders = HTTPParser.kOnHeaders | 0;
12 const kOnHeadersComplete = HTTPParser.kOnHeadersComplete | 0;
13 const kOnBody = HTTPParser.kOnBody | 0;
14 const kOnMessageComplete = HTTPParser.kOnMessageComplete | 0;
27 const parser = new HTTPParser();
28 parser.initialize(HTTPParser.REQUEST, {});
Dtest-http-parser.js26 const { methods, HTTPParser } = require('_http_common');
27 const { REQUEST, RESPONSE } = HTTPParser;
29 const kOnHeaders = HTTPParser.kOnHeaders | 0;
30 const kOnHeadersComplete = HTTPParser.kOnHeadersComplete | 0;
31 const kOnBody = HTTPParser.kOnBody | 0;
32 const kOnMessageComplete = HTTPParser.kOnMessageComplete | 0;
41 const parser = new HTTPParser();
Dtest-http-parser-memory-retention.js6 const { HTTPParser } = require('_http_common');
11 const kOnTimeout = HTTPParser.kOnTimeout | 0;
Dtest-http-parser-lazy-loaded.js19 binding.HTTPParser = DummyParser;
/third_party/node/benchmark/http/
Dbench-parser.js13 const { HTTPParser } = common.binding('http_parser');
14 const REQUEST = HTTPParser.REQUEST;
15 const kOnHeaders = HTTPParser.kOnHeaders | 0;
16 const kOnHeadersComplete = HTTPParser.kOnHeadersComplete | 0;
17 const kOnBody = HTTPParser.kOnBody | 0;
18 const kOnMessageComplete = HTTPParser.kOnMessageComplete | 0;
33 const parser = new HTTPParser();
/third_party/node/lib/
D_http_common.js31 const { methods, HTTPParser } = internalBinding('http_parser');
44 const kOnMessageBegin = HTTPParser.kOnMessageBegin | 0;
45 const kOnHeaders = HTTPParser.kOnHeaders | 0;
46 const kOnHeadersComplete = HTTPParser.kOnHeadersComplete | 0;
47 const kOnBody = HTTPParser.kOnBody | 0;
48 const kOnMessageComplete = HTTPParser.kOnMessageComplete | 0;
49 const kOnExecute = HTTPParser.kOnExecute | 0;
50 const kOnTimeout = HTTPParser.kOnTimeout | 0;
161 const parser = new HTTPParser();
268 HTTPParser, property
D_http_server.js45 HTTPParser,
178 const kOnExecute = HTTPParser.kOnExecute | 0;
179 const kOnTimeout = HTTPParser.kOnTimeout | 0;
180 const kLenientAll = HTTPParser.kLenientAll | 0;
181 const kLenientNone = HTTPParser.kLenientNone | 0;
662 HTTPParser.REQUEST,
D_http_client.js54 HTTPParser,
114 const kLenientAll = HTTPParser.kLenientAll | 0;
115 const kLenientNone = HTTPParser.kLenientNone | 0;
810 parser.initialize(HTTPParser.RESPONSE,
/third_party/node/test/async-hooks/
Dtest-httpparser.response.js13 const { HTTPParser } = require('_http_common');
15 const RESPONSE = HTTPParser.RESPONSE;
16 const kOnHeadersComplete = HTTPParser.kOnHeadersComplete | 0;
17 const kOnBody = HTTPParser.kOnBody | 0;
27 const parser = new HTTPParser();
Dtest-httpparser.request.js12 const { HTTPParser } = require('_http_common');
14 const REQUEST = HTTPParser.REQUEST;
16 const kOnHeadersComplete = HTTPParser.kOnHeadersComplete | 0;
22 const parser = new HTTPParser();
/third_party/node/typings/internalBinding/
Dhttp_parser.d.ts5 class HTTPParser { class
44 HTTPParser: typeof InternalHttpParserBinding.HTTPParser;
/third_party/node/test/sequential/
Dtest-http-regr-gh-2928.js8 const { HTTPParser } = require('_http_common');
26 parser.initialize(HTTPParser.RESPONSE, {});
Dtest-async-wrap-getasyncid.js172 const { HTTPParser } = require('_http_common');
173 const parser = new HTTPParser();
175 parser.initialize(HTTPParser.REQUEST, {});
/third_party/node/lib/internal/
Dchild_process.js80 let HTTPParser; variable
151 if (HTTPParser === undefined)
152 HTTPParser = require('_http_common').HTTPParser;
156 if (socket.parser && socket.parser instanceof HTTPParser) {
/third_party/node/doc/changelogs/
DCHANGELOG_V8.md1259 …* set HTTPParser trigger to socket (Andreas Madsen) [#18003](https://github.com/nodejs/node/pull/1…
1301 …de/commit/91d4eb5ff8)] - **(SEMVER-MINOR)** **async\_hooks,http**: set HTTPParser trigger to socke…
DCHANGELOG_V9.md967 …de/commit/ac2f98d6a6)] - **(SEMVER-MINOR)** **async\_hooks,http**: set HTTPParser trigger to socke…
DCHANGELOG_V12.md1042 …a09b4d2ca)] - **http**: fixes memory retention issue with FreeList and HTTPParser (John Leidegren)…
5736 …nodejs/node/commit/4b3d0d1953)] - **async\_hooks**: fixup do not reuse HTTPParser (Gerhard Stoebic…
DCHANGELOG_V14.md3719 …c02c73e53)] - **http**: fixes memory retention issue with FreeList and HTTPParser (John Leidegren)…
DCHANGELOG_V10.md641 …dejs/node/commit/65ef26fdcb)] - **async\_hooks**: avoid double-destroy HTTPParser (Gerhard Stoebic…