redone _read_request(). Should work with any BUFSIZE.

+ WIP in some aspects. Need to adjust parse_request() among others things.
+ update memo.txt
This commit is contained in:
LuckyLaszlo
2022-08-07 05:41:01 +02:00
parent 8ec1353723
commit 4ab099ee4d
4 changed files with 75 additions and 13 deletions

View File

@@ -31,6 +31,9 @@ class Client
unsigned int status;
listen_socket *lsocket;
bool header_complete;
size_t read_body_size;
// const functions ?
http_method get_method();
std::string &get_path();