If hostname resolution fails, do not try all possible ports
This commit is contained in:
@@ -256,6 +256,8 @@ protected:
|
||||
std::string cares_error;
|
||||
#endif // CARES_FOUND
|
||||
|
||||
bool hostname_resolution_failed;
|
||||
|
||||
private:
|
||||
TCPSocketHandler(const TCPSocketHandler&) = delete;
|
||||
TCPSocketHandler(TCPSocketHandler&&) = delete;
|
||||
|
||||
Reference in New Issue
Block a user