Proper handling of DNS issues (#197)
* Fixed dns resolver issues * fixed supported-variants in login
This commit is contained in:
parent
0d2f4d1c7a
commit
6687d56910
5 changed files with 53 additions and 9 deletions
|
@ -60,6 +60,14 @@ void Connection::notifyError(const std::string& error)
|
|||
}
|
||||
}
|
||||
|
||||
void Connection::notifyDNSError(const std::string& error)
|
||||
{
|
||||
ConnectionListener::Ptr listener = listener_.lock();
|
||||
if (listener)
|
||||
{
|
||||
listener->scheduleOnDNSError(error);
|
||||
}
|
||||
}
|
||||
|
||||
Connection::Ptr establishConnection(const ConnectionListener::Ptr& listener,
|
||||
ConnectionType type, const std::string& host, uint16_t port)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue