From 9d4b2141062a0671a3c2a2e3408742c36f0fb513 Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Mon, 19 Nov 2018 22:21:04 -0500 Subject: deps: update llhttp to 1.0.1 Fix callback error reporting PR-URL: https://github.com/nodejs/node/pull/24508 Reviewed-By: James M Snell Reviewed-By: Colin Ihrig --- deps/llhttp/include/llhttp.h | 2 +- deps/llhttp/src/llhttp.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'deps/llhttp') diff --git a/deps/llhttp/include/llhttp.h b/deps/llhttp/include/llhttp.h index c114d11ffa..26aa46e1e7 100644 --- a/deps/llhttp/include/llhttp.h +++ b/deps/llhttp/include/llhttp.h @@ -3,7 +3,7 @@ #define LLHTTP_VERSION_MAJOR 1 #define LLHTTP_VERSION_MINOR 0 -#define LLHTTP_VERSION_PATCH 0 +#define LLHTTP_VERSION_PATCH 1 #ifndef INCLUDE_LLHTTP_ITSELF_H_ #define INCLUDE_LLHTTP_ITSELF_H_ diff --git a/deps/llhttp/src/llhttp.c b/deps/llhttp/src/llhttp.c index cb12c8dfd0..7db9b2fdc1 100644 --- a/deps/llhttp/src/llhttp.c +++ b/deps/llhttp/src/llhttp.c @@ -6037,6 +6037,7 @@ int llhttp__internal_execute(llhttp__internal_t* state, const char* p, const cha if (error != 0) { state->error = error; state->error_pos = endp; + return error; } } -- cgit v1.2.3