Skip to content

Commit

Permalink
deps: update llhttp to 6.0.2
Browse files Browse the repository at this point in the history
Fix: #37053
See: nodejs/llparse#44
PR-URL: #38665
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Daniele Belardi <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
indutny authored and danielleadams committed May 31, 2021
1 parent f5dd85b commit 15aaf14
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion deps/llhttp/include/llhttp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions deps/llhttp/src/llhttp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 15aaf14

Please sign in to comment.