/third_party/nghttp2/third-party/llhttp/src/ |
D | api.c | 33 void llhttp_init(llhttp_t* parser, llhttp_type_t type, in llhttp_init() 44 extern int wasm_on_message_begin(llhttp_t * p); 45 extern int wasm_on_url(llhttp_t* p, const char* at, size_t length); 46 extern int wasm_on_status(llhttp_t* p, const char* at, size_t length); 47 extern int wasm_on_header_field(llhttp_t* p, const char* at, size_t length); 48 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, int status_code, 51 extern int wasm_on_body(llhttp_t* p, const char* at, size_t length); 52 extern int wasm_on_message_complete(llhttp_t * p); 54 static int wasm_on_headers_complete_wrap(llhttp_t* p) { in wasm_on_headers_complete_wrap() [all …]
|
D | http.c | 5 # define llhttp_t llparse_t macro 8 int llhttp_message_needs_eof(const llhttp_t* parser); 9 int llhttp_should_keep_alive(const llhttp_t* parser); 11 int llhttp__before_headers_complete(llhttp_t* parser, const char* p, in llhttp__before_headers_complete() 37 int llhttp__after_headers_complete(llhttp_t* parser, const char* p, in llhttp__after_headers_complete() 96 int llhttp__after_message_complete(llhttp_t* parser, const char* p, in llhttp__after_message_complete() 109 int llhttp_message_needs_eof(const llhttp_t* parser) { in llhttp_message_needs_eof() 136 int llhttp_should_keep_alive(const llhttp_t* parser) { in llhttp_should_keep_alive()
|
/third_party/node/deps/llhttp/src/ |
D | api.c | 18 void llhttp_init(llhttp_t* parser, llhttp_type_t type, in llhttp_init() 27 llhttp_errno_t llhttp_execute(llhttp_t* parser, const char* data, size_t len) { in llhttp_execute() 37 llhttp_errno_t llhttp_finish(llhttp_t* parser) { in llhttp_finish() 62 void llhttp_pause(llhttp_t* parser) { in llhttp_pause() 72 void llhttp_resume(llhttp_t* parser) { in llhttp_resume() 81 void llhttp_resume_after_upgrade(llhttp_t* parser) { in llhttp_resume_after_upgrade() 90 llhttp_errno_t llhttp_get_errno(const llhttp_t* parser) { in llhttp_get_errno() 95 const char* llhttp_get_error_reason(const llhttp_t* parser) { in llhttp_get_error_reason() 100 void llhttp_set_error_reason(llhttp_t* parser, const char* reason) { in llhttp_set_error_reason() 105 const char* llhttp_get_error_pos(const llhttp_t* parser) { in llhttp_get_error_pos() [all …]
|
D | http.c | 5 # define llhttp_t llparse_t macro 8 int llhttp_message_needs_eof(const llhttp_t* parser); 9 int llhttp_should_keep_alive(const llhttp_t* parser); 11 int llhttp__before_headers_complete(llhttp_t* parser, const char* p, in llhttp__before_headers_complete() 37 int llhttp__after_headers_complete(llhttp_t* parser, const char* p, in llhttp__after_headers_complete() 94 int llhttp__after_message_complete(llhttp_t* parser, const char* p, in llhttp__after_message_complete() 109 int llhttp_message_needs_eof(const llhttp_t* parser) { in llhttp_message_needs_eof() 136 int llhttp_should_keep_alive(const llhttp_t* parser) { in llhttp_should_keep_alive()
|
/third_party/node/deps/llhttp/include/ |
D | llhttp.h | 232 typedef llhttp__internal_t llhttp_t; typedef 235 typedef int (*llhttp_data_cb)(llhttp_t*, const char *at, size_t length); 236 typedef int (*llhttp_cb)(llhttp_t*); 272 void llhttp_init(llhttp_t* parser, llhttp_type_t type, 294 llhttp_errno_t llhttp_execute(llhttp_t* parser, const char* data, size_t len); 304 llhttp_errno_t llhttp_finish(llhttp_t* parser); 309 int llhttp_message_needs_eof(const llhttp_t* parser); 314 int llhttp_should_keep_alive(const llhttp_t* parser); 322 void llhttp_pause(llhttp_t* parser); 329 void llhttp_resume(llhttp_t* parser); [all …]
|
/third_party/nghttp2/third-party/llhttp/include/ |
D | llhttp.h | 550 typedef llhttp__internal_t llhttp_t; typedef 553 typedef int (*llhttp_data_cb)(llhttp_t*, const char *at, size_t length); 554 typedef int (*llhttp_cb)(llhttp_t*); 611 void llhttp_init(llhttp_t* parser, llhttp_type_t type, 615 llhttp_t* llhttp_alloc(llhttp_type_t type); 618 void llhttp_free(llhttp_t* parser); 621 uint8_t llhttp_get_type(llhttp_t* parser); 624 uint8_t llhttp_get_http_major(llhttp_t* parser); 627 uint8_t llhttp_get_http_minor(llhttp_t* parser); 630 uint8_t llhttp_get_method(llhttp_t* parser); [all …]
|
/third_party/nghttp2/third-party/llhttp/ |
D | README.md | 66 llhttp_t parser; 139 ### `void llhttp_init(llhttp_t* parser, llhttp_type_t type, const llhttp_settings_t* settings)` 143 ### `uint8_t llhttp_get_type(llhttp_t* parser)` 147 ### `uint8_t llhttp_get_http_major(llhttp_t* parser)` 151 ### `uint8_t llhttp_get_http_minor(llhttp_t* parser)` 155 ### `uint8_t llhttp_get_method(llhttp_t* parser)` 159 ### `int llhttp_get_status_code(llhttp_t* parser)` 163 ### `uint8_t llhttp_get_upgrade(llhttp_t* parser)` 167 ### `void llhttp_reset(llhttp_t* parser)` 176 ### `llhttp_errno_t llhttp_execute(llhttp_t* parser, const char* data, size_t len)` [all …]
|
/third_party/nghttp2/src/ |
D | h2load_http1_session.cc | 43 int htp_msg_begincb(llhttp_t *htp) { in htp_msg_begincb() 56 int htp_statuscb(llhttp_t *htp, const char *at, size_t length) { in htp_statuscb() 72 int htp_msg_completecb(llhttp_t *htp) { in htp_msg_completecb() 109 int htp_hdr_keycb(llhttp_t *htp, const char *data, size_t len) { in htp_hdr_keycb() 120 int htp_hdr_valcb(llhttp_t *htp, const char *data, size_t len) { in htp_hdr_valcb() 131 int htp_hdrs_completecb(llhttp_t *htp) { in htp_hdrs_completecb() 137 int htp_body_cb(llhttp_t *htp, const char *data, size_t len) { in htp_body_cb()
|
D | shrpx_https_upstream.cc | 55 int htp_msg_begin(llhttp_t *htp); 56 int htp_uricb(llhttp_t *htp, const char *data, size_t len); 57 int htp_hdr_keycb(llhttp_t *htp, const char *data, size_t len); 58 int htp_hdr_valcb(llhttp_t *htp, const char *data, size_t len); 59 int htp_hdrs_completecb(llhttp_t *htp); 60 int htp_bodycb(llhttp_t *htp, const char *data, size_t len); 61 int htp_msg_completecb(llhttp_t *htp); 129 int htp_msg_begin(llhttp_t *htp) { in htp_msg_begin() 137 int htp_uricb(llhttp_t *htp, const char *data, size_t len) { in htp_uricb() 174 int htp_hdr_keycb(llhttp_t *htp, const char *data, size_t len) { in htp_hdr_keycb() [all …]
|
D | shrpx_http_downstream_connection.cc | 256 int htp_msg_begincb(llhttp_t *htp); 257 int htp_hdr_keycb(llhttp_t *htp, const char *data, size_t len); 258 int htp_hdr_valcb(llhttp_t *htp, const char *data, size_t len); 259 int htp_hdrs_completecb(llhttp_t *htp); 260 int htp_bodycb(llhttp_t *htp, const char *data, size_t len); 261 int htp_msg_completecb(llhttp_t *htp); 908 int htp_msg_begincb(llhttp_t *htp) { in htp_msg_begincb() 920 int htp_hdrs_completecb(llhttp_t *htp) { in htp_hdrs_completecb() 1090 int htp_hdr_keycb(llhttp_t *htp, const char *data, size_t len) { in htp_hdr_keycb() 1127 int htp_hdr_valcb(llhttp_t *htp, const char *data, size_t len) { in htp_hdr_valcb() [all …]
|
D | h2load_http1_session.h | 54 llhttp_t htp_;
|
D | shrpx_http_downstream_connection.h | 113 llhttp_t response_htp_;
|
D | shrpx_https_upstream.h | 103 llhttp_t htp_;
|
D | shrpx_http2_session.h | 268 std::unique_ptr<llhttp_t> proxy_htp_;
|
D | nghttp.h | 270 std::unique_ptr<llhttp_t> htp;
|
D | shrpx_http2_session.cc | 340 int htp_hdrs_completecb(llhttp_t *htp); 437 proxy_htp_ = std::make_unique<llhttp_t>(); in initiate_connection() 639 int htp_hdrs_completecb(llhttp_t *htp) { in htp_hdrs_completecb()
|
D | nghttp.cc | 406 int htp_msg_begincb(llhttp_t *htp) { in htp_msg_begincb() 416 int htp_msg_completecb(llhttp_t *htp) { in htp_msg_completecb() 906 htp = std::make_unique<llhttp_t>(); in connected()
|
/third_party/node/src/ |
D | inspector_socket.cc | 578 static int OnHeaderValue(llhttp_t* parser, const char* at, size_t length) { in OnHeaderValue() 585 static int OnHeaderField(llhttp_t* parser, const char* at, size_t length) { in OnHeaderField() 595 static int OnPath(llhttp_t* parser, const char* at, size_t length) { in OnPath() 601 static HttpHandler* From(llhttp_t* parser) { in From() 605 static int OnMessageComplete(llhttp_t* parser) { in OnMessageComplete() 642 llhttp_t parser_;
|
D | node_http_parser.cc | 892 llhttp_t parser_; 918 static int Raw(llhttp_t* p, Args ... args) { in Raw()
|
/third_party/node/deps/llhttp/ |
D | README.md | 65 llhttp_t parser;
|