mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 16:48:06 +02:00
fixed GH #1458: always pass 1 to epoll_create()
This commit is contained in:
@@ -147,7 +147,7 @@ int Socket::select(SocketList& readList, SocketList& writeList, SocketList& exce
|
|||||||
}
|
}
|
||||||
|
|
||||||
epollSize = eventLast - eventsIn;
|
epollSize = eventLast - eventsIn;
|
||||||
epollfd = epoll_create(epollSize);
|
epollfd = epoll_create(1);
|
||||||
if (epollfd < 0)
|
if (epollfd < 0)
|
||||||
{
|
{
|
||||||
SocketImpl::error("Can't create epoll queue");
|
SocketImpl::error("Can't create epoll queue");
|
||||||
|
Reference in New Issue
Block a user