Added http_parse_request

This commit is contained in:
2023-01-05 18:54:31 +01:00
parent 925ff2b9e4
commit 6f2751f69b
2 changed files with 89 additions and 75 deletions

@ -134,6 +134,8 @@ void http_free_req(http_req *req);
void http_free_res(http_res *res);
int http_parse_request(char *buf, http_req *req);
int http_receive_request(sock *client, http_req *req);
int http_parse_header_field(http_hdr *hdr, const char *buf, const char *end_ptr, int flags);