mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-07 05:58:45 +01:00
Fix identity generation for transient inproc connections
This commit is contained in:
@@ -635,8 +635,8 @@ void zmq::socket_base_t::attach_pipes (class reader_t *inpipe_,
|
||||
xattach_pipes (inpipe_, outpipe_, peer_identity_);
|
||||
}
|
||||
else {
|
||||
blob_t identity (0, 1);
|
||||
identity += uuid_t ().to_blob ();
|
||||
blob_t identity (1, 0);
|
||||
identity.append (uuid_t ().to_blob (), uuid_t::uuid_blob_len);
|
||||
xattach_pipes (inpipe_, outpipe_, identity);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user