http: Fix http overflow bug

This commit is contained in:
Nick Peng
2021-08-21 00:06:24 +08:00
parent 106ec6789c
commit ea8c1f47f8
2 changed files with 36 additions and 17 deletions

View File

@@ -61,6 +61,8 @@ char *http_head_get_data(struct http_head *http_head);
int http_head_get_data_len(struct http_head *http_head);
int http_head_buff_len(struct http_head *http_head);
struct http_head_fields *http_head_first_fields(struct http_head *http_head);
struct http_head_fields *http_head_next_fields(struct http_head_fields *fields);