File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33
44#define LLHTTP_VERSION_MAJOR 6
55#define LLHTTP_VERSION_MINOR 0
6- #define LLHTTP_VERSION_PATCH 2
6+ #define LLHTTP_VERSION_PATCH 3
77
88#ifndef LLHTTP_STRICT_MODE
99# define LLHTTP_STRICT_MODE 0
Original file line number Diff line number Diff line change @@ -50,13 +50,18 @@ extern int wasm_on_headers_complete(llhttp_t * p);
5050extern int wasm_on_body (llhttp_t * p , const char * at , size_t length );
5151extern int wasm_on_message_complete (llhttp_t * p );
5252
53+ static int wasm_on_headers_complete_wrap (llhttp_t * p ) {
54+ return wasm_on_headers_complete (p , p -> status_code , p -> upgrade ,
55+ llhttp_should_keep_alive (p ));
56+ }
57+
5358const llhttp_settings_t wasm_settings = {
5459 wasm_on_message_begin ,
5560 wasm_on_url ,
5661 wasm_on_status ,
5762 wasm_on_header_field ,
5863 wasm_on_header_value ,
59- wasm_on_headers_complete ,
64+ wasm_on_headers_complete_wrap ,
6065 wasm_on_body ,
6166 wasm_on_message_complete ,
6267 NULL ,
You can’t perform that action at this time.
0 commit comments