mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-25 18:23:01 +02:00
Problem: curve_client_t does not emit handshake failure events
Solution: add handshake failure events to curve_client_t
This commit is contained in:
@@ -685,7 +685,8 @@ bool zmq::stream_engine_t::handshake ()
|
||||
mechanism = new (std::nothrow)
|
||||
curve_server_t (session, peer_address, options);
|
||||
else
|
||||
mechanism = new (std::nothrow) curve_client_t (options);
|
||||
mechanism =
|
||||
new (std::nothrow) curve_client_t (session, options);
|
||||
alloc_assert (mechanism);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user