mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 18:20:26 +01:00
fixed GH #1458: always pass 1 to epoll_create()
This commit is contained in:
parent
2757bce0c3
commit
69d632810e
@ -147,7 +147,7 @@ int Socket::select(SocketList& readList, SocketList& writeList, SocketList& exce
|
||||
}
|
||||
|
||||
epollSize = eventLast - eventsIn;
|
||||
epollfd = epoll_create(epollSize);
|
||||
epollfd = epoll_create(1);
|
||||
if (epollfd < 0)
|
||||
{
|
||||
SocketImpl::error("Can't create epoll queue");
|
||||
|
Loading…
Reference in New Issue
Block a user