diff options
author | Fedor Indutny <fedor@indutny.com> | 2021-05-13 05:50:48 +0300 |
---|---|---|
committer | Danielle Adams <adamzdanielle@gmail.com> | 2021-05-31 22:34:48 +0300 |
commit | 15aaf14690afe4ebfed39770c6c482ec70977a17 (patch) | |
tree | 14b952be8b97e97593442f788eca2d3065ecac96 /deps | |
parent | f5dd85bbe649b36285062f66cbb2f2bb61d9b05c (diff) |
deps: update llhttp to 6.0.2
Fix: #37053
See: https://github.com/nodejs/llparse/pull/44
PR-URL: https://github.com/nodejs/node/pull/38665
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Daniele Belardi <dwon.dnl@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'deps')
-rw-r--r-- | deps/llhttp/include/llhttp.h | 2 | ||||
-rw-r--r-- | deps/llhttp/src/llhttp.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/deps/llhttp/include/llhttp.h b/deps/llhttp/include/llhttp.h index aa488b0f2f0..2ecba18652a 100644 --- a/deps/llhttp/include/llhttp.h +++ b/deps/llhttp/include/llhttp.h @@ -3,7 +3,7 @@ #define LLHTTP_VERSION_MAJOR 6 #define LLHTTP_VERSION_MINOR 0 -#define LLHTTP_VERSION_PATCH 1 +#define LLHTTP_VERSION_PATCH 2 #ifndef LLHTTP_STRICT_MODE # define LLHTTP_STRICT_MODE 0 diff --git a/deps/llhttp/src/llhttp.c b/deps/llhttp/src/llhttp.c index a8efce1033e..a44d9e72538 100644 --- a/deps/llhttp/src/llhttp.c +++ b/deps/llhttp/src/llhttp.c @@ -1103,7 +1103,7 @@ static llparse_state_t llhttp__internal__run( case s_n_llhttp__internal__n_consume_content_length: s_n_llhttp__internal__n_consume_content_length: { size_t avail; - size_t need; + uint64_t need; avail = endp - p; need = state->content_length; @@ -1458,7 +1458,7 @@ static llparse_state_t llhttp__internal__run( case s_n_llhttp__internal__n_consume_content_length_1: s_n_llhttp__internal__n_consume_content_length_1: { size_t avail; - size_t need; + uint64_t need; avail = endp - p; need = state->content_length; @@ -8677,7 +8677,7 @@ static llparse_state_t llhttp__internal__run( case s_n_llhttp__internal__n_consume_content_length: s_n_llhttp__internal__n_consume_content_length: { size_t avail; - size_t need; + uint64_t need; avail = endp - p; need = state->content_length; @@ -9025,7 +9025,7 @@ static llparse_state_t llhttp__internal__run( case s_n_llhttp__internal__n_consume_content_length_1: s_n_llhttp__internal__n_consume_content_length_1: { size_t avail; - size_t need; + uint64_t need; avail = endp - p; need = state->content_length; |