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:
parent
e49115224a
commit
14b112301e
@ -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 ();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user