Lines Matching refs:http_state
241 struct http_state { struct
243 struct http_state *next; argument
291 LWIP_MEMPOOL_DECLARE(HTTPD_STATE, MEMP_NUM_PARALLEL_HTTPD_CONNS, sizeof(struct http_state),… argument
297 #define HTTP_ALLOC_HTTP_STATE() (struct http_state *)LWIP_MEMPOOL_ALLOC(HTTPD_STATE)
300 #define HTTP_ALLOC_HTTP_STATE() (struct http_state *)mem_malloc(sizeof(struct http_state))
308 static err_t http_close_conn(struct altcp_pcb *pcb, struct http_state *hs);
309 static err_t http_close_or_abort_conn(struct altcp_pcb *pcb, struct http_state *hs, u8_t abort_conn…
310 static err_t http_find_file(struct http_state *hs, const char *uri, int is_09);
311 static err_t http_init_file(struct http_state *hs, struct fs_file *file, int is_09, const char *uri…
313 static u8_t http_check_eof(struct altcp_pcb *pcb, struct http_state *hs);
351 static struct http_state *http_connections;
354 http_add_connection(struct http_state *hs) in http_add_connection()
362 http_remove_connection(struct http_state *hs) in http_remove_connection()
369 struct http_state *last; in http_remove_connection()
383 struct http_state *hs = http_connections; in http_kill_oldest_connection()
384 struct http_state *hs_free_next = NULL; in http_kill_oldest_connection()
446 http_state_init(struct http_state *hs) in http_state_init()
449 memset(hs, 0, sizeof(struct http_state)); in http_state_init()
457 static struct http_state *
460 struct http_state *ret = HTTP_ALLOC_HTTP_STATE(); in http_state_alloc()
478 http_state_eof(struct http_state *hs) in http_state_eof()
514 http_state_free(struct http_state *hs) in http_state_free()
596 http_close_or_abort_conn(struct altcp_pcb *pcb, struct http_state *hs, u8_t abort_conn) in http_close_or_abort_conn()
646 http_close_conn(struct altcp_pcb *pcb, struct http_state *hs) in http_close_conn()
655 http_eof(struct altcp_pcb *pcb, struct http_state *hs) in http_eof()
688 extract_uri_parameters(struct http_state *hs, char *params) in extract_uri_parameters()
759 get_tag_insert(struct http_state *hs)
842 get_http_headers(struct http_state *hs, const char *uri)
948 get_http_content_length(struct http_state *hs)
998 http_send_headers(struct altcp_pcb *pcb, struct http_state *hs)
1093 http_check_eof(struct altcp_pcb *pcb, struct http_state *hs)
1192 http_send_data_nonssi(struct altcp_pcb *pcb, struct http_state *hs)
1219 http_send_data_ssi(struct altcp_pcb *pcb, struct http_state *hs)
1575 http_send(struct altcp_pcb *pcb, struct http_state *hs)
1650 http_find_error_file(struct http_state *hs, u16_t error_nr)
1689 http_get_404_file(struct http_state *hs, const char **uri)
1718 http_handle_post_finished(struct http_state *hs)
1745 http_post_rxpbuf(struct http_state *hs, struct pbuf *p)
1801 http_post_request(struct pbuf *inp, struct http_state *hs,
1907 struct http_state *hs = (struct http_state *)connection;
1942 struct http_state *hs = (struct http_state *)connection;
1968 http_parse_request(struct pbuf *inp, struct http_state *hs, struct altcp_pcb *pcb)
2192 http_find_file(struct http_state *hs, const char *uri, int is_09)
2321 http_init_file(struct http_state *hs, struct fs_file *file, int is_09, const char *uri,
2442 struct http_state *hs = (struct http_state *)arg;
2459 struct http_state *hs = (struct http_state *)arg;
2486 struct http_state *hs = (struct http_state *)arg;
2534 struct http_state *hs = (struct http_state *)arg;
2619 struct http_state *hs;