mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-10 07:56:09 +00:00
Fix issue #369
The bug was that after reconnect, the session did not handle identity messages properly.
This commit is contained in:
parent
d0b9005ef0
commit
130dfc5b5f
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user