Skip to content

Commit 6541504

Browse files
indutnytargos
authored andcommitted
deps: update llhttp to 2.1.2
Fixes: https://hackerone.com/reports/922597 CVE-ID: CVE-2020-8201 PR-URL: nodejs-private/node-private#219 Reviewed-by: James M Snell <jasnell@gmail.com>
1 parent 8f0a746 commit 6541504

File tree

3 files changed

+7116
-275
lines changed

3 files changed

+7116
-275
lines changed

deps/llhttp/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# llhttp
2-
[![Build Status](https://secure.travis-ci.org/nodejs/llhttp.svg)](http://travis-ci.org/nodejs/llhttp)
32

43
Port of [http_parser][0] to [llparse][1].
54

deps/llhttp/include/llhttp.h

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22
#define INCLUDE_LLHTTP_H_
33

44
#define LLHTTP_VERSION_MAJOR 2
5-
#define LLHTTP_VERSION_MINOR 0
6-
#define LLHTTP_VERSION_PATCH 4
5+
#define LLHTTP_VERSION_MINOR 1
6+
#define LLHTTP_VERSION_PATCH 2
7+
8+
#ifndef LLHTTP_STRICT_MODE
9+
# define LLHTTP_STRICT_MODE 0
10+
#endif
711

812
#ifndef INCLUDE_LLHTTP_ITSELF_H_
913
#define INCLUDE_LLHTTP_ITSELF_H_
@@ -140,7 +144,8 @@ enum llhttp_method {
140144
HTTP_MKCALENDAR = 30,
141145
HTTP_LINK = 31,
142146
HTTP_UNLINK = 32,
143-
HTTP_SOURCE = 33
147+
HTTP_SOURCE = 33,
148+
HTTP_PRI = 34
144149
};
145150
typedef enum llhttp_method llhttp_method_t;
146151

@@ -206,6 +211,7 @@ typedef enum llhttp_method llhttp_method_t;
206211
XX(31, LINK, LINK) \
207212
XX(32, UNLINK, UNLINK) \
208213
XX(33, SOURCE, SOURCE) \
214+
XX(34, PRI, PRI) \
209215

210216

211217

0 commit comments

Comments
 (0)