Merge pull request #2745 from sigiesec/rename-identity

Problem: term "identity" is confusing
This commit is contained in:
Luca Boccassi
2017-09-20 10:08:45 +02:00
committed by GitHub
50 changed files with 490 additions and 453 deletions

View File

@@ -358,12 +358,12 @@ int zmq::session_base_t::zap_connect ()
send_bind (peer.socket, new_pipes [1], false);
// Send empty identity if required by the peer.
if (peer.options.recv_identity) {
// Send empty routing id if required by the peer.
if (peer.options.recv_routing_id) {
msg_t id;
rc = id.init ();
errno_assert (rc == 0);
id.set_flags (msg_t::identity);
id.set_flags (msg_t::routing_id);
bool ok = zap_pipe->write (&id);
zmq_assert (ok);
zap_pipe->flush ();