mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 18:45:10 +01:00
another fix for GH #1458 - handle case when all sockets are invalid
This commit is contained in:
parent
017adf836f
commit
a8502dcccf
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user