Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
authorFedor Indutny <fedor@indutny.com>2018-11-20 06:21:04 +0300
committerRod Vagg <rod@vagg.org>2018-11-28 03:25:31 +0300
commit230eb0dde93e05e97d441a5f84712596963f70c5 (patch)
tree7c29a330ff1376c6abe594cc2f65f90ea4ac5260 /deps
parent41f2e36046e441106b14ededdcc80b1172c6ff78 (diff)
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 c114d11ffa9..26aa46e1e78 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 cb12c8dfd0f..7db9b2fdc10 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;
}
}