Skip to content

Commit 1e451dc

Browse files
ShogunPandaRafaelGSS
authored andcommitted
deps: upgrade llhttp to 6.0.9
PR-URL: #44344 Fixes: #43115 Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent ed52bd0 commit 1e451dc

File tree

4 files changed

+703
-290
lines changed

4 files changed

+703
-290
lines changed

deps/llhttp/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
cmake_minimum_required(VERSION 3.5.1)
22
cmake_policy(SET CMP0069 NEW)
33

4-
project(llhttp VERSION 6.0.5)
4+
project(llhttp VERSION )
55
include(GNUInstallDirs)
66

77
set(CMAKE_C_STANDARD 99)
88

99
# By default build in relwithdebinfo type, supports both lowercase and uppercase
1010
if(NOT CMAKE_CONFIGURATION_TYPES)
11-
set(allowableBuileTypes DEBUG RELEASE RELWITHDEBINFO MINSIZEREL)
12-
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "${allowableBuileTypes}")
11+
set(allowableBuildTypes DEBUG RELEASE RELWITHDEBINFO MINSIZEREL)
12+
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "${allowableBuildTypes}")
1313
if(NOT CMAKE_BUILD_TYPE)
1414
set(CMAKE_BUILD_TYPE RELWITHDEBINFO CACHE STRING "" FORCE)
1515
else()
1616
string(TOUPPER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE)
17-
if(NOT CMAKE_BUILD_TYPE IN_LIST allowableBuileTypes)
18-
message(FATEL_ERROR "Invalid build type: ${CMAKE_BUILD_TYPE}")
17+
if(NOT CMAKE_BUILD_TYPE IN_LIST allowableBuildTypes)
18+
message(FATAL_ERROR "Invalid build type: ${CMAKE_BUILD_TYPE}")
1919
endif()
2020
endif()
2121
endif()

deps/llhttp/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,15 @@ make
107107

108108
* Python: [pallas/pyllhttp][8]
109109
* Ruby: [metabahn/llhttp][9]
110+
* Rust: [JackLiar/rust-llhttp][10]
110111

111112
### Using with CMake
112113

113114
If you want to use this library in a CMake project you can use the snippet below.
114115

115116
```
116117
FetchContent_Declare(llhttp
117-
URL "https://github.com/nodejs/llhttp/releases/download/v6.0.5/llhttp-release-v6.0.5.tar.gz") # Using version 6.0.5
118+
URL "https://github.com/nodejs/llhttp/archive/refs/tags/v6.0.5.tar.gz") # Using version 6.0.5
118119
119120
FetchContent_MakeAvailable(llhttp)
120121
@@ -178,3 +179,4 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
178179
[7]: https://github.com/nodejs/node
179180
[8]: https://github.com/pallas/pyllhttp
180181
[9]: https://github.com/metabahn/llhttp
182+
[10]: https://github.com/JackLiar/rust-llhttp

deps/llhttp/include/llhttp.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
#define LLHTTP_VERSION_MAJOR 6
55
#define LLHTTP_VERSION_MINOR 0
6-
#define LLHTTP_VERSION_PATCH 7
6+
#define LLHTTP_VERSION_PATCH 9
77

88
#ifndef LLHTTP_STRICT_MODE
99
# define LLHTTP_STRICT_MODE 0
@@ -102,7 +102,8 @@ enum llhttp_lenient_flags {
102102
LENIENT_HEADERS = 0x1,
103103
LENIENT_CHUNKED_LENGTH = 0x2,
104104
LENIENT_KEEP_ALIVE = 0x4,
105-
LENIENT_TRANSFER_ENCODING = 0x8
105+
LENIENT_TRANSFER_ENCODING = 0x8,
106+
LENIENT_VERSION = 0x10
106107
};
107108
typedef enum llhttp_lenient_flags llhttp_lenient_flags_t;
108109

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy