diff --git a/src/Worker.cpp b/src/Worker.cpp index 30b90bf..51cfbb0 100644 --- a/src/Worker.cpp +++ b/src/Worker.cpp @@ -23,7 +23,6 @@ Worker::Worker() _shouldStop(false) { _log.info("Worker constructor called"); - _setupEpoll(); } Worker::~Worker() { @@ -43,15 +42,6 @@ void Worker::stop() { _shouldStop = true; } -void Worker::_setupEpoll() { - _epollSocket = epoll_create1(0); - if (_epollSocket <= 0) { - _log.error(std::string("WORKER: Failed \"epoll_create1\": ") + - strerror(errno)); - exit(EXIT_FAILURE); - } -} - std::vector Worker::_setupAssociateVirtualServer( const ListenConfig& listenConfig) { std::vector virtualServers;