From 4c7446211a02937f3e2522aece163d417b4ad0b9 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Tue, 1 Mar 2011 16:08:40 +0100 Subject: 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 --- src/socket_base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3