mirror of https://github.com/nodejs/node.git
deps: update llhttp to 9.1.3
PR-URL: https://github.com/nodejs/node/pull/50080 Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>pull/50375/head
parent
2c4a332a9f
commit
c6d650f179
|
@ -1,7 +1,7 @@
|
|||
cmake_minimum_required(VERSION 3.5.1)
|
||||
cmake_policy(SET CMP0069 NEW)
|
||||
|
||||
project(llhttp VERSION 9.1.2)
|
||||
project(llhttp VERSION 9.1.3)
|
||||
include(GNUInstallDirs)
|
||||
|
||||
set(CMAKE_C_STANDARD 99)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#define LLHTTP_VERSION_MAJOR 9
|
||||
#define LLHTTP_VERSION_MINOR 1
|
||||
#define LLHTTP_VERSION_PATCH 2
|
||||
#define LLHTTP_VERSION_PATCH 3
|
||||
|
||||
#ifndef INCLUDE_LLHTTP_ITSELF_H_
|
||||
#define INCLUDE_LLHTTP_ITSELF_H_
|
||||
|
|
|
@ -126,7 +126,7 @@ void llhttp_reset(llhttp_t* parser) {
|
|||
llhttp_type_t type = parser->type;
|
||||
const llhttp_settings_t* settings = parser->settings;
|
||||
void* data = parser->data;
|
||||
uint8_t lenient_flags = parser->lenient_flags;
|
||||
uint16_t lenient_flags = parser->lenient_flags;
|
||||
|
||||
llhttp__internal_init(parser);
|
||||
|
||||
|
|
|
@ -43,15 +43,17 @@ int llhttp__after_headers_complete(llhttp_t* parser, const char* p,
|
|||
(parser->upgrade && (parser->method == HTTP_CONNECT ||
|
||||
(parser->flags & F_SKIPBODY) || !hasBody)) ||
|
||||
/* See RFC 2616 section 4.4 - 1xx e.g. Continue */
|
||||
(
|
||||
parser->type == HTTP_RESPONSE &&
|
||||
(parser->status_code == 100 || parser->status_code == 101)
|
||||
)
|
||||
(parser->type == HTTP_RESPONSE && parser->status_code == 101)
|
||||
) {
|
||||
/* Exit, the rest of the message is in a different protocol. */
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (parser->type == HTTP_RESPONSE && parser->status_code == 100) {
|
||||
/* No body, restart as the message is complete */
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* See RFC 2616 section 4.4 */
|
||||
if (
|
||||
parser->flags & F_SKIPBODY || /* response to a HEAD request */
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -19,7 +19,7 @@ This a list of all the dependencies:
|
|||
* [histogram 0.11.8][]
|
||||
* [icu-small 73.2][]
|
||||
* [libuv 1.46.0][]
|
||||
* [llhttp 9.1.2][]
|
||||
* [llhttp 9.1.3][]
|
||||
* [minimatch 9.0.3][]
|
||||
* [nghttp2 1.57.0][]
|
||||
* [nghttp3 0.7.0][]
|
||||
|
@ -212,7 +212,7 @@ The [libuv](https://github.com/libuv/libuv) dependency is a
|
|||
multi-platform support library with a focus on asynchronous I/O.
|
||||
It was primarily developed for use by Node.js.
|
||||
|
||||
### llhttp 9.1.2
|
||||
### llhttp 9.1.3
|
||||
|
||||
The [llhttp](https://github.com/nodejs/llhttp) dependency is
|
||||
the http parser used by Node.js.
|
||||
|
@ -330,7 +330,7 @@ performance improvements not currently available in standard zlib.
|
|||
[histogram 0.11.8]: #histogram-0118
|
||||
[icu-small 73.2]: #icu-small-732
|
||||
[libuv 1.46.0]: #libuv-1460
|
||||
[llhttp 9.1.2]: #llhttp-912
|
||||
[llhttp 9.1.3]: #llhttp-913
|
||||
[maintaining-V8]: ./maintaining-V8.md
|
||||
[maintaining-cjs-module-lexer]: ./maintaining-cjs-module-lexer.md
|
||||
[maintaining-http]: ./maintaining-http.md
|
||||
|
|
Loading…
Reference in New Issue