mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 16:48:06 +02:00
another fix for GH #1458 - handle case when all sockets are invalid
This commit is contained in:
@@ -147,6 +147,8 @@ int Socket::select(SocketList& readList, SocketList& writeList, SocketList& exce
|
||||
}
|
||||
|
||||
epollSize = eventLast - eventsIn;
|
||||
if (epollSize == 0) return 0;
|
||||
|
||||
epollfd = epoll_create(1);
|
||||
if (epollfd < 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user