Avoid an exception due to some bad logic in the DNS resolution mechanic
fix #3207
This commit is contained in:
@@ -74,6 +74,10 @@ public:
|
||||
* Returns the number of SocketHandlers managed by the poller.
|
||||
*/
|
||||
size_t size() const;
|
||||
/**
|
||||
* Whether the given socket is managed by the poller
|
||||
*/
|
||||
bool is_managing_socket(const socket_t socket) const;
|
||||
|
||||
private:
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user