Commit 14b11230 authored by Martin Sustrik's avatar Martin Sustrik

handle error during connecting by eventual reconnection

parent e4911522
......@@ -120,6 +120,8 @@ void zmq::zmq_connecter_t::start_connecting ()
return;
}
// TODO: Handle the error condition by eventual reconnect.
zmq_assert (false);
// Handle any other error condition by eventual reconnect.
tcp_connecter.close ();
wait = true;
add_timer ();
}
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