mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 18:55:10 +01:00
Explicit identities bug in inproc transport fixed.
The identity of bound socket was not used. Instead, transient identity was generated. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
parent
67b1f14190
commit
4c7446211a
@ -399,7 +399,7 @@ int zmq::socket_base_t::connect (const char *addr_)
|
||||
&outpipe_reader, &outpipe_writer);
|
||||
|
||||
// Attach the pipes to this socket object.
|
||||
attach_pipes (inpipe_reader, outpipe_writer, blob_t ());
|
||||
attach_pipes (inpipe_reader, outpipe_writer, peer.options.identity);
|
||||
|
||||
// Attach the pipes to the peer socket. Note that peer's seqnum
|
||||
// was incremented in find_endpoint function. We don't need it
|
||||
|
Loading…
Reference in New Issue
Block a user