File tree Expand file tree Collapse file tree 3 files changed +7116
-275
lines changed
Expand file tree Collapse file tree 3 files changed +7116
-275
lines changed Original file line number Diff line number Diff line change 11# llhttp
2- [ ![ Build Status] ( https://secure.travis-ci.org/nodejs/llhttp.svg )] ( http://travis-ci.org/nodejs/llhttp )
32
43Port of [ http_parser] [ 0 ] to [ llparse] [ 1 ] .
54
Original file line number Diff line number Diff line change 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};
145150typedef 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
You can’t perform that action at this time.
0 commit comments