Avoid an exception due to some bad logic in the DNS resolution mechanic
fix #3207
This commit is contained in:
@@ -226,3 +226,8 @@ size_t Poller::size() const
|
||||
{
|
||||
return this->socket_handlers.size();
|
||||
}
|
||||
|
||||
bool Poller::is_managing_socket(const socket_t socket) const
|
||||
{
|
||||
return (this->socket_handlers.find(socket) != this->socket_handlers.end());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user