mirror of
https://gitee.com/openharmony/third_party_nghttp2
synced 2024-11-23 07:50:02 +00:00
Bump llhttp to 2.1.1
This commit is contained in:
parent
181a007a34
commit
1570d5f694
1
third-party/llhttp/README.md
vendored
1
third-party/llhttp/README.md
vendored
@ -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].
|
||||
|
||||
|
12
third-party/llhttp/include/llhttp.h
vendored
12
third-party/llhttp/include/llhttp.h
vendored
@ -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) \
|
||||
|
||||
|
||||
|
||||
|
7504
third-party/llhttp/src/llhttp.c
vendored
7504
third-party/llhttp/src/llhttp.c
vendored
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user