wip integration of client.request and ServerConfig
+ Client get return reference + wip binary flags for http_method + moved config parser files
This commit is contained in:
@@ -6,7 +6,7 @@ void Webserv::_close_client(int fd)
|
||||
std::vector<Client>::iterator it = _clients.begin();
|
||||
while (it != _clients.end())
|
||||
{
|
||||
if (it->fd == fd)
|
||||
if (*it == fd)
|
||||
{
|
||||
// _epoll_update(fd, 0, EPOLL_CTL_DEL); // normalement superflu, DEBUG
|
||||
if (::close(fd) == -1)
|
||||
|
||||
Reference in New Issue
Block a user