0
0
mirror of https://github.com/zeromq/libzmq.git synced 2025-01-15 02:07:59 +08:00

handle error during connecting by eventual reconnection

This commit is contained in:
Martin Sustrik 2009-12-15 13:58:21 +01:00
parent e49115224a
commit 14b112301e

View File

@ -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 ();
}