mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-14 09:47:56 +08:00
Merge pull request #3876 from somdoron/HELLO_MSG
problem: checking the wrong socket when sending hello msg
This commit is contained in:
commit
d882e807dd
@ -862,7 +862,7 @@ int zmq::socket_base_t::connect_internal (const char *endpoint_uri_)
|
||||
}
|
||||
|
||||
// If set, send the hello msg of the peer to the local socket.
|
||||
if (options.can_send_hello_msg
|
||||
if (peer.options.can_send_hello_msg
|
||||
&& peer.options.hello_msg.size () > 0) {
|
||||
send_hello_msg (new_pipes[1], peer.options);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user