Searched refs:http_parser (Results 1 – 11 of 11) sorted by relevance
/Zephyr-latest/include/zephyr/net/http/ |
D | parser.h | 67 struct http_parser; 89 typedef int (*http_data_cb)(struct http_parser *, const char *at, 91 typedef int (*http_cb)(struct http_parser *); 147 struct http_parser { struct 219 void http_parser_init(struct http_parser *parser, enum http_parser_type type); 231 size_t http_parser_execute(struct http_parser *parser, 241 int http_should_keep_alive(const struct http_parser *parser); 253 void http_parser_pause(struct http_parser *parser, int paused); 256 int http_body_is_final(const struct http_parser *parser);
|
D | client.h | 209 struct http_parser parser;
|
D | server.h | 436 struct http_parser parser;
|
/Zephyr-latest/subsys/net/lib/http/ |
D | README_http_parser | 12 http_parser_url.c (originally located in http_parser.c). 14 * "http-parser" is the project's name, "http_parser" is used in filenames.
|
D | http_client.c | 175 static int on_url(struct http_parser *parser, const char *at, size_t length) in on_url() 190 static int on_status(struct http_parser *parser, const char *at, size_t length) in on_status() 214 static int on_header_field(struct http_parser *parser, const char *at, in on_header_field() 241 static int on_header_value(struct http_parser *parser, const char *at, in on_header_value() 278 static int on_body(struct http_parser *parser, const char *at, size_t length) in on_body() 307 static int on_headers_complete(struct http_parser *parser) in on_headers_complete() 334 static int on_message_begin(struct http_parser *parser) in on_message_begin() 351 static int on_message_complete(struct http_parser *parser) in on_message_complete() 370 static int on_chunk_header(struct http_parser *parser) in on_chunk_header() 384 static int on_chunk_complete(struct http_parser *parser) in on_chunk_complete() [all …]
|
D | CMakeLists.txt | 11 zephyr_library_sources_ifdef(CONFIG_HTTP_PARSER http_parser.c)
|
D | http_parser.c | 89 int count_header_size(struct http_parser *parser, int bytes) in count_header_size() 206 int cb_notify(struct http_parser *parser, enum state *current_state, http_cb cb, in cb_notify() 230 int cb_data(struct http_parser *parser, http_data_cb cb, int cb_error, in cb_data() 304 int strict_check(struct http_parser *parser, int c) in strict_check() 316 int strict_check(struct http_parser *parser, int c) in strict_check() 367 int http_message_needs_eof(const struct http_parser *parser); 370 int parser_header_state(struct http_parser *parser, char ch, char c) in parser_header_state() 480 int header_states(struct http_parser *parser, const char *data, size_t len, in header_states() 655 int zero_content_length(struct http_parser *parser, in zero_content_length() 707 int parser_execute(struct http_parser *parser, in parser_execute() [all …]
|
D | http_server_http1.c | 595 static int on_header_field(struct http_parser *parser, const char *at, in on_header_field() 665 static int on_header_value(struct http_parser *parser, in on_header_value() 719 static int on_headers_complete(struct http_parser *parser) in on_headers_complete() 730 static int on_url(struct http_parser *parser, const char *at, size_t length) in on_url() 751 static int on_body(struct http_parser *parser, const char *at, size_t length) in on_body() 764 static int on_message_complete(struct http_parser *parser) in on_message_complete()
|
D | Kconfig | 8 This option enables the http_parser library from nodejs.
|
/Zephyr-latest/tests/net/lib/http_header_fields/src/ |
D | main.c | 577 struct http_parser parser = { 0 }; in ZTEST() 630 struct http_parser parser = { 0 }; in ZTEST() 646 struct http_parser parser = { 0 }; in test_invalid_header_content() 691 struct http_parser parser = { 0 }; in test_invalid_header_field() 734 struct http_parser parser = { 0 }; in test_double_content_length_error() 764 struct http_parser parser = { 0 }; in test_chunked_content_length_error() 795 struct http_parser parser = { 0 }; in test_header_cr_no_lf_error()
|
/Zephyr-latest/subsys/net/lib/websocket/ |
D | websocket.c | 169 static int on_header_field(struct http_parser *parser, const char *at, in on_header_field() 193 static int on_header_value(struct http_parser *parser, const char *at, in on_header_value()
|