0
0
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:
Luca Boccassi 2020-04-18 23:32:31 +01:00 committed by GitHub
commit d882e807dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}