diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-03-01 16:08:40 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-03-01 16:08:40 +0100 |
commit | 4c7446211a02937f3e2522aece163d417b4ad0b9 (patch) | |
tree | 15c37390a4068cdc6d31f22858b3d6843422affe | |
parent | 67b1f14190186f54fc5954a70f7214411d780aea (diff) |
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>
-rw-r--r-- | src/socket_base.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket_base.cpp b/src/socket_base.cpp index 6e07473..0b560f8 100644 --- a/src/socket_base.cpp +++ b/src/socket_base.cpp @@ -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 |