Commit 130dfc5b authored by Martin Hurton's avatar Martin Hurton

Fix issue #369

The bug was that after reconnect, the session did not
handle identity messages properly.
parent d0b9005e
...@@ -387,6 +387,10 @@ void zmq::session_base_t::detached () ...@@ -387,6 +387,10 @@ void zmq::session_base_t::detached ()
return; return;
} }
// Restore identity flags.
send_identity = options.send_identity;
recv_identity = options.recv_identity;
// Reconnect. // Reconnect.
if (options.reconnect_ivl != -1) if (options.reconnect_ivl != -1)
start_connecting (true); start_connecting (true);
......
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