(client) internal IXDNSLookup class requires a valid cancellation request function callback to be passed in

This commit is contained in:
Benjamin Sergeant
2019-12-02 14:52:19 -08:00
parent 92db53c470
commit 396a6985ae
5 changed files with 15 additions and 6 deletions

View File

@ -29,8 +29,13 @@ namespace ix
return false;
}
CancellationRequest cancellationRequest = []() -> bool
{
return false;
};
std::string errMsg;
return _socket->connect(hostname, port, errMsg, nullptr);
return _socket->connect(hostname, port, errMsg, cancellationRequest);
}
void RedisClient::stop()