deps: update llhttp to 2.1.2

Fixes: https://hackerone.com/reports/922597
CVE-ID: CVE-2020-8201
PR-URL: https://github.com/nodejs-private/node-private/pull/219
Reviewed-by: James M Snell <jasnell@gmail.com>
This commit is contained in:
Fedor Indutny authored and Michaël Zasso committed 2020-09-14 08:33:16 +02:00
1 parent 8f0a74651e
commit 65415049af
3 files changed
+7223 -382

No files matched your search

-1
View File
@@ -1,5 +1,4 @@
# llhttp
[![Build Status](https://secure.travis-ci.org/nodejs/llhttp.svg)](http://travis-ci.org/nodejs/llhttp)
Port of [http_parser][0] to [llparse][1].
+9 -3
View File
@@ -2,8 +2,12 @@
#define INCLUDE_LLHTTP_H_
#define LLHTTP_VERSION_MAJOR 2
#define LLHTTP_VERSION_MINOR 0
#define LLHTTP_VERSION_PATCH 4
#define LLHTTP_VERSION_MINOR 1
#define LLHTTP_VERSION_PATCH 2
#ifndef LLHTTP_STRICT_MODE
# define LLHTTP_STRICT_MODE 0
#endif
#ifndef INCLUDE_LLHTTP_ITSELF_H_
#define INCLUDE_LLHTTP_ITSELF_H_
@@ -140,7 +144,8 @@ enum llhttp_method {
HTTP_MKCALENDAR = 30,
HTTP_LINK = 31,
HTTP_UNLINK = 32,
HTTP_SOURCE = 33
HTTP_SOURCE = 33,
HTTP_PRI = 34
};
typedef enum llhttp_method llhttp_method_t;
@@ -206,6 +211,7 @@ typedef enum llhttp_method llhttp_method_t;
XX(31, LINK, LINK) \
XX(32, UNLINK, UNLINK) \
XX(33, SOURCE, SOURCE) \
XX(34, PRI, PRI) \
+7214 -378
View File
File diff suppressed because it is too large. Load diff