Bump llhttp to 2.1.1

This commit is contained in:
Tatsuhiro Tsujikawa 2020-09-03 19:33:09 +09:00
parent 181a007a34
commit 1570d5f694
3 changed files with 7147 additions and 370 deletions

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].

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 1
#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) \

File diff suppressed because it is too large Load Diff