Commit ac6a7459 authored by louiz’'s avatar louiz’

Send the cares error message before cleaning it

fix #3083
parent 4130f167
......@@ -109,8 +109,9 @@ void TCPSocketHandler::connect(const std::string& address, const std::string& po
addr_res = this->cares_addrinfo;
if (!addr_res)
const auto msg = this->cares_error;
return ;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment