Implement Transfer-Encoding chunked for requests

This commit is contained in:
2022-10-20 23:10:07 +02:00
parent 90e324cf87
commit b30f9fa56d
6 changed files with 88 additions and 40 deletions

View File

@ -32,6 +32,8 @@ long sock_recv(sock *s, void *buf, unsigned long len, int flags);
long sock_splice(sock *dst, sock *src, void *buf, unsigned long buf_len, unsigned long len);
long sock_splice_chunked(sock *dst, sock *src, void *buf, unsigned long buf_len);
int sock_close(sock *s);
int sock_check(sock *s);