Skip to content

Commit 99c1055

Browse files
committed
release: 6.0.4
1 parent bfb395b commit 99c1055

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

include/llhttp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
#define LLHTTP_VERSION_MAJOR 6
55
#define LLHTTP_VERSION_MINOR 0
6-
#define LLHTTP_VERSION_PATCH 3
6+
#define LLHTTP_VERSION_PATCH 4
77

88
#ifndef LLHTTP_STRICT_MODE
99
# define LLHTTP_STRICT_MODE 0

src/api.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ extern int wasm_on_url(llhttp_t* p, const char* at, size_t length);
4646
extern int wasm_on_status(llhttp_t* p, const char* at, size_t length);
4747
extern int wasm_on_header_field(llhttp_t* p, const char* at, size_t length);
4848
extern int wasm_on_header_value(llhttp_t* p, const char* at, size_t length);
49-
extern int wasm_on_headers_complete(llhttp_t * p);
49+
extern int wasm_on_headers_complete(llhttp_t * p, int status_code,
50+
uint8_t upgrade, int should_keep_alive);
5051
extern int wasm_on_body(llhttp_t* p, const char* at, size_t length);
5152
extern int wasm_on_message_complete(llhttp_t * p);
5253

0 commit comments

Comments
 (0)