Skip to content

Commit 0b320b1

Browse files
nodejs-github-botjcbhmr
authored andcommitted
deps: update llhttp to 9.2.0
PR-URL: nodejs#51719 Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
1 parent c660655 commit 0b320b1

File tree

6 files changed

+463
-402
lines changed

6 files changed

+463
-402
lines changed

deps/llhttp/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.5.1)
22
cmake_policy(SET CMP0069 NEW)
33

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

77
set(CMAKE_C_STANDARD 99)

deps/llhttp/include/llhttp.h

+8-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
#define INCLUDE_LLHTTP_H_
44

55
#define LLHTTP_VERSION_MAJOR 9
6-
#define LLHTTP_VERSION_MINOR 1
7-
#define LLHTTP_VERSION_PATCH 3
6+
#define LLHTTP_VERSION_MINOR 2
7+
#define LLHTTP_VERSION_PATCH 0
88

99
#ifndef INCLUDE_LLHTTP_ITSELF_H_
1010
#define INCLUDE_LLHTTP_ITSELF_H_
@@ -181,7 +181,8 @@ enum llhttp_method {
181181
HTTP_SET_PARAMETER = 42,
182182
HTTP_REDIRECT = 43,
183183
HTTP_RECORD = 44,
184-
HTTP_FLUSH = 45
184+
HTTP_FLUSH = 45,
185+
HTTP_QUERY = 46
185186
};
186187
typedef enum llhttp_method llhttp_method_t;
187188

@@ -362,6 +363,7 @@ typedef enum llhttp_status llhttp_status_t;
362363
XX(31, LINK, LINK) \
363364
XX(32, UNLINK, UNLINK) \
364365
XX(33, SOURCE, SOURCE) \
366+
XX(46, QUERY, QUERY) \
365367

366368

367369
#define RTSP_METHOD_MAP(XX) \
@@ -428,6 +430,7 @@ typedef enum llhttp_status llhttp_status_t;
428430
XX(43, REDIRECT, REDIRECT) \
429431
XX(44, RECORD, RECORD) \
430432
XX(45, FLUSH, FLUSH) \
433+
XX(46, QUERY, QUERY) \
431434

432435

433436
#define HTTP_STATUS_MAP(XX) \
@@ -547,6 +550,8 @@ extern "C" {
547550

548551
#if defined(__wasm__)
549552
#define LLHTTP_EXPORT __attribute__((visibility("default")))
553+
#elif defined(_WIN32)
554+
#define LLHTTP_EXPORT __declspec(dllexport)
550555
#else
551556
#define LLHTTP_EXPORT
552557
#endif

0 commit comments

Comments
 (0)