The bug was that after reconnect, the session did not
handle identity messages properly.
This commit is contained in:
Martin Hurton 2012-05-28 17:02:08 +02:00
parent d0b9005ef0
commit 130dfc5b5f

View File

@ -387,6 +387,10 @@ void zmq::session_base_t::detached ()
return;
}
// Restore identity flags.
send_identity = options.send_identity;
recv_identity = options.recv_identity;
// Reconnect.
if (options.reconnect_ivl != -1)
start_connecting (true);