cjihrig
cdcb1b7737
deps: cherry-pick http_parser_set_max_header_size
...
This commit adds http_parser_set_max_header_size() to the
http-parser for overriding the compile time maximum HTTP
header size.
PR-URL: https://github.com/nodejs/node/pull/24811
Fixes: https://github.com/nodejs/node/issues/24692
Refs: https://github.com/nodejs/http-parser/pull/453
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2018-12-20 09:31:51 -05:00
Ben Noordhuis
32050065f1
deps: upgrade http-parser to v2.8.0
...
PR-URL: https://github.com/nodejs-private/http-parser-private/pull/1
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rod Vagg <rod@vagg.org>
2018-03-28 12:24:20 -04:00
Fedor Indutny
7f14483352
deps: update to http-parser 2.7.0
...
Adds `2` as a return value of `on_headers_complete`, this mode will be
used to fix handling responses to `CONNECT` requests.
See: https://github.com/nodejs/node/pull/6198
PR-URL: https://github.com/nodejs/node/pull/6279
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
2016-04-19 11:47:39 -04:00
James M Snell
954a4b4b5b
deps: update to http-parser 2.6.2
...
Fixes http-parser regression with IS_HEADER_CHAR check
Add test case for obstext characters (> 0x80) is header
PR-URL: https://github.com/nodejs/node/pull/5237
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
2016-02-15 12:45:17 -08:00
James M Snell
4f4c8ab3b4
deps: update http-parser to version 2.6.1
...
includes parsing improvements to ensure closer HTTP spec conformance
PR-URL: https://github.com/nodejs/node-private/pull/26
Reviewed-By: Rod Vagg <r@va.gg>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2016-02-09 09:22:03 -08:00
James M Snell
d006d6aa46
deps: update http-parser to 2.6.0
...
significant updates:
* [[`777ba4eded`](https://github.com/nodejs/node/commit/777ba4eded )] - **src**: introduce `http_parser_url_init` (Fedor Indutny) [nodejs/http-parser#225 ](https://github.com/nodejs/http-parser/pull/225 )
* [[`e557b62744`](https://github.com/nodejs/node/commit/e557b62744 )] - **src**: support LINK/UNLINK (RFC 2068, draft-snell-link-method) (Olivier Mengué) [nodejs/http-parser#267 ](https://github.com/nodejs/http-parser/pull/267 )
* [[`eb5e9928b4`](https://github.com/nodejs/node/commit/eb5e9928b4 )] - **src**: support ACL (WebDAV, RFC3744, Section 8.1). (Ivan Enderlin) [joyent/http-parser#260 ](https://github.com/joyent/http-parser/pull/260 )
* [[`8b1d652322`](https://github.com/nodejs/node/commit/8b1d652322 )] - **src**: support BIND/REBIND/UNBIND (WebDAV, RFC5842) (Ivan Enderlin) [joyent/http-parser#242 ](https://github.com/joyent/http-parser/pull/242 )
* [[`7d75dd7325`](https://github.com/nodejs/node/commit/7d75dd7325 )] - **src**: support IPv6 Zone ID as per RFC 6874 (Tatsuhiro Tsujikawa) [joyent/http-parser#253 ](https://github.com/joyent/http-parser/pull/253 )
PR-URL: https://github.com/nodejs/node/pull/3569
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
2015-11-03 13:08:05 -08:00
Fedor Indutny
b3a7da1091
deps: update http_parser to 2.5.0
...
PR-URL: https://github.com/iojs/io.js/pull/1517
Reviewed-By: Brian White <mscdex@mscdex.net>
2015-04-24 23:19:28 +02:00
Ben Noordhuis
660509694c
deps: roll back http_parser to 2.3.0
...
Commit 598efcbe
("deps: update http_parser to 2.4.1") introduced a
regression in HTTP Upgrade header handling.
Fixes: https://github.com/iojs/io.js/issues/627
PR-URL: https://github.com/iojs/io.js/pull/628
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
2015-01-28 16:56:44 +01:00
Fedor Indutny
88aaff9aa6
deps: update http_parser to 2.4.2
...
Fix: https://github.com/iojs/io.js/issues/588
PR-URL: https://github.com/iojs/io.js/pull/604
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-01-25 21:34:54 +03:00
Fedor Indutny
598efcbe7f
deps: update http_parser to 2.4.1
...
PR-URL: https://github.com/iojs/io.js/pull/397
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-01-15 00:13:40 +03:00
Fedor Indutny
bc8475f236
Revert "deps: update http_parser to 2.4.0"
...
The commit breaks windows build and brings some test failures that needs
to be debugged.
This reverts commit d790f61221
.
2015-01-14 04:34:45 +03:00
Fedor Indutny
d790f61221
deps: update http_parser to 2.4.0
...
PR-URL: https://github.com/iojs/io.js/pull/345
Reviewed-By: Rod Vagg <rod@vagg.org>
2015-01-14 03:10:18 +03:00
Fedor Indutny
2f0017aa53
deps: update http_parser to 2.3.0
2014-07-23 23:08:46 +04:00
Fedor Indutny
597eb6a5ae
deps: update http_parser to 2.2.1
...
Main changes:
* Fixed content-length and chunk-size overflow test
2014-01-29 03:23:52 +04:00
Fedor Indutny
a35a2f0192
deps: update http_parser to 2.2
...
Main changes:
* Added support for http statusMessage
2013-12-20 17:33:29 +04:00
Ben Noordhuis
4784ea1a29
deps: upgrade http_parser to ad3b631
2012-08-30 00:06:47 +02:00
Ben Noordhuis
79cbe1fdbb
deps: upgrade http_parser to 8bec3ea
2012-03-12 02:20:52 +01:00
Ben Noordhuis
f0c5165f81
http_parser: upgrade to 62110ef
2012-02-20 16:12:33 +01:00
Ryan Dahl
3abebfea98
Upgrade http-parser to joyent/http-parser@2498961
2011-11-22 12:56:01 -08:00
Ryan Dahl
c3ccbea5cd
Upgrade http_parser to 965f91bc76b2d1601e23
2011-08-06 03:04:42 -07:00
Ryan Dahl
4956e3c0a2
Upgrade http-parser to eee60127c0df551be085cc8e7983e36d7700d885
2011-06-03 14:12:14 +02:00
Ryan Dahl
d695486185
Upgrade http-parser
2010-11-21 21:39:14 -08:00
Ryan Dahl
d23643051e
Upgrade http-parser again
2010-11-10 22:12:47 -08:00
Ryan Dahl
8285f12864
Upgrade http-parser
2010-11-09 15:02:18 -08:00
Nathan Rajlich
9b1ff070e6
Upgrade http-parser with a fix for spaces in headers
2010-10-13 02:47:10 -07:00
Ryan Dahl
23cf556c6c
Upgrade http-parser
...
support for
- long messages
- spaces in header fields
2010-07-26 15:02:20 -07:00
Ryan Dahl
11a784d6da
Upgrade http-parser
2010-07-17 01:22:16 -07:00
Ryan Dahl
8825c74e7a
Upgrade http-parser
2010-06-23 21:10:13 -07:00
Ryan Dahl
9be6c501ec
Upgrade http-parser
2010-06-06 17:41:03 -07:00
Ryan Dahl
2fca40e44f
Upgrade http-parser
2010-05-25 19:25:35 -07:00
Ryan Dahl
af49187e57
Upgrade http-parser
2010-04-14 03:22:38 -07:00
Ryan Dahl
54d4efd44b
Upgrade http-parser
...
Now at version 6f72c780f0a237a775150a9963bcdf5299685cde
2010-03-22 09:00:43 -07:00
Ryan Dahl
ce4204a069
Upgrade http-parser
...
Fixes, among other things, a header overflow attack.
2010-02-02 16:40:59 -08:00
Ryan Dahl
c9e21435c0
Upgrade http-parser
2010-01-09 01:52:49 -08:00
Ryan Dahl
75e6c39733
Upgrade http-parser
...
Fixes \n problem that psanford <pms.mail@gmail.com> reported.
2010-01-07 18:36:28 -08:00
Ryan Dahl
ee8530e0ee
offload method look up to http-parser
2009-12-07 15:21:12 +01:00
Ryan Dahl
c3e0a4bc7c
Upgrade http-parser; supports webdav extension methods now
2009-12-06 23:58:16 +01:00
Ryan Dahl
7719ce33db
New http-parser
...
No longer based on Ragel, but hand-written.
Had to add HTTPConnection.resetParser() because the parser is stricter and
will error out when you try to give it a message after the previous had
"Connection: close". The HTTP client was doing that. Thus we reset the
parser manually after each new connection.
2009-11-21 16:27:02 +01:00
Ryan Dahl
51c1526b6a
Revert "Upgrade http parser, change node as needed."
...
Something is broken in how keep-alive is working. Reverting until I can fix
it.
This reverts commit b893859c34
.
2009-11-06 12:44:20 +01:00
Ryan Dahl
b893859c34
Upgrade http parser, change node as needed.
...
The latest version of http-parser is a bit more stringent EOF semantics.
2009-10-15 19:18:18 +02:00
Ryan
d8226af7f5
Upgrade http_parser to v0.2
2009-08-07 18:25:25 +02:00
Ryan
fd83e1d7d8
Upgrade http parser
2009-06-12 17:27:44 +02:00
Ryan
4bd63d35fb
Upgrade http_parser - protects against buffer overflows now
2009-06-09 15:18:12 +02:00
Ryan
5a071ad72f
Begin refactor of http.cc. Remove libebb add http_parser.
...
And most of http.cc was deleted.
2009-05-03 14:09:16 +02:00