Skip to content

Commit cb90248

Browse files
indutnyrichardlau
authored andcommitted
deps: update llhttp to 2.1.2
- update llhttp to 2.1.2 - modify test to support the latest llhttp PR-URL: nodejs-private/node-private#215 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Beth Griggs <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent ae257ca commit cb90248

File tree

5 files changed

+7124
-276
lines changed

5 files changed

+7124
-276
lines changed

deps/llhttp/README.md

-1
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

+9-3
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)