feat: only memmove read buffer on read

This commit is contained in:
Jef Roosens 2023-05-25 14:28:53 +02:00 committed by Chewing_Bever
parent c58e53eb2a
commit 32687e0b49
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
4 changed files with 37 additions and 29 deletions

View file

@ -34,6 +34,7 @@ typedef enum http_parse_error {
http_parse_error_invalid = 2,
} http_parse_error;
http_parse_error http_parse_request(http_request *req, const char *path, size_t path_len);
http_parse_error http_parse_request(http_request *req, const char *path,
size_t path_len);
#endif