mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-29 13:27:59 +03:00
misc
This commit is contained in:
@@ -132,6 +132,7 @@ void Server::readSocket(Client &client, int fd)
|
||||
// client.setRawData(buf);
|
||||
client.increaseRecvCounter(bytes_read);
|
||||
status = client.parseRequest();
|
||||
(void)status;
|
||||
// client_map[fd].printClientInfo();
|
||||
|
||||
if (client.allRecved())
|
||||
@@ -252,7 +253,7 @@ void Server::start(void)
|
||||
{
|
||||
|
||||
ready_num = epoll_wait(_epoll_fd, _events, MAX_CLIENT, 5000);
|
||||
// DBOUT << TURQ << "ready_num " << ready_num << ENDL;F
|
||||
// DBOUT << TURQ << "ready_num " << ready_num << ENDL;
|
||||
|
||||
if (ready_num < 0)
|
||||
throw std::logic_error("epoll_ret");
|
||||
|
||||
Reference in New Issue
Block a user