We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steps:
Result:
Test Code:
TEST_UNIT(testTCPClientConnectionTimeout) { std::shared_ptr<evpp::EventLoop> loop(new evpp::EventLoop); std::shared_ptr<evpp::TCPClient> client(new evpp::TCPClient(loop.get(), "cmake.org:80", "TCPPingPongClient")); client->SetConnectionCallback([loop, client](const evpp::TCPConnPtr& conn) { loop->Stop(); }); client->set_auto_reconnect(false); client->set_connecting_timeout(evpp::Duration(0.0001)); client->Connect(); loop->Run(); client.reset(); loop.reset(); H_TEST_ASSERT(evpp::GetActiveEventCount() == 0); }
The text was updated successfully, but these errors were encountered:
Fix bug : TCPClient crashed when DNS resolving timeout. see #43
7470f32
Fix issue43 : when TCPClient connect timeout. #43
c8e8a9e
bf8ef31
82ad5fb
f65cda0
3dd9dae
No branches or pull requests
Steps:
Result:
Test Code:
The text was updated successfully, but these errors were encountered: