added multipart upload file,
it works, but need some adjustements, refactoring and testing
This commit is contained in:
@@ -25,7 +25,7 @@ void Webserv::_request(Client *client)
|
||||
}
|
||||
else if (ret == READ_COMPLETE)
|
||||
{
|
||||
if (client->body_complete)
|
||||
if (client->body_complete && client->get_rq_multi_bodys().empty()) // DEBUG
|
||||
std::cerr << "______BODY\n" << client->get_rq_body() << "\n______\n"; // DEBUG
|
||||
_epoll_update(client->get_cl_fd(), EPOLLOUT, EPOLL_CTL_MOD);
|
||||
client->request_complete = true;
|
||||
|
||||
Reference in New Issue
Block a user