summaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
authorFedor Indutny <fedor@indutny.com>2018-11-19 22:21:04 -0500
committerFedor Indutny <fedor@indutny.com>2018-11-21 14:23:27 -0500
commit9d4b2141062a0671a3c2a2e3408742c36f0fb513 (patch)
tree10208a6e8fb4af231d68a340c37d14fa272a2132 /deps
parent16a2b5c7a694593bd39eb2d143da03f20070f2ce (diff)
downloadandroid-node-v8-9d4b2141062a0671a3c2a2e3408742c36f0fb513.tar.gz
android-node-v8-9d4b2141062a0671a3c2a2e3408742c36f0fb513.tar.bz2
android-node-v8-9d4b2141062a0671a3c2a2e3408742c36f0fb513.zip
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 <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'deps')
-rw-r--r--deps/llhttp/include/llhttp.h2
-rw-r--r--deps/llhttp/src/llhttp.c1
2 files changed, 2 insertions, 1 deletions
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;
}
}