mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-15 23:20:09 +02:00
Fix invalid address metadata for ZMQ_EVENT_DISCONNECTED
This commit is contained in:
@@ -126,7 +126,7 @@ void zmq::tcp_connecter_t::out_event ()
|
||||
tune_tcp_keepalives (fd, options.tcp_keepalive, options.tcp_keepalive_cnt, options.tcp_keepalive_idle, options.tcp_keepalive_intvl);
|
||||
|
||||
// Create the engine object for this connection.
|
||||
stream_engine_t *engine = new (std::nothrow) stream_engine_t (fd, options);
|
||||
stream_engine_t *engine = new (std::nothrow) stream_engine_t (fd, options, endpoint);
|
||||
alloc_assert (engine);
|
||||
|
||||
// Attach the engine to the corresponding session object.
|
||||
|
Reference in New Issue
Block a user