Moved most request errors check in Client
+ bugfix of "Bad file descriptor" due to empty operator=() in Client + added a condition in _determine_location_COOP_FIX() + udpate memo.txt + need fix for index/autoindex (location "/list" dont work)
This commit is contained in:
@@ -21,12 +21,6 @@ void Webserv::_close_client(int fd)
|
||||
|
||||
void Webserv::_close_all_clients()
|
||||
{
|
||||
/*
|
||||
** BUG : (since last Hugo changes ? commit 482a389 ? or redirection problem ?)
|
||||
** sometimes "err close(): Bad file descriptor"
|
||||
** on fd>0 that should be valid (5, 6, ...)
|
||||
** I seems to trigger the bug when i request multiples ressources before timeout
|
||||
*/
|
||||
while (!_clients.empty())
|
||||
{
|
||||
// _epoll_update(_clients.back().fd, 0, EPOLL_CTL_DEL); // normalement superflu, DEBUG
|
||||
|
||||
Reference in New Issue
Block a user