mirror of
https://github.com/zeromq/libzmq.git
synced 2025-02-20 22:31:34 +01:00
Fix identity generation for transient inproc connections
This commit is contained in:
parent
1f61c87ac5
commit
ca057c7db8
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user