littles adjustements but still no solution to the main problem

This commit is contained in:
lperrey
2022-08-18 10:48:57 +02:00
parent dda0103fb8
commit 9b0fcc1520
8 changed files with 88 additions and 33 deletions

View File

@@ -5,7 +5,7 @@ Webserv::Webserv()
{
std::cerr << "Server init\n";
_epfd = ::epoll_create1(0); // (EPOLL_CLOEXEC) for CGI fork ?
_epfd = ::epoll_create1(EPOLL_CLOEXEC);
if (_epfd == -1)
{
std::perror("err epoll_create1()");