mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-15 02:07:59 +08:00
Add connector.close() back
Needed if session->push() ever fails
This commit is contained in:
parent
bbecdf397e
commit
5e60f18d3a
@ -210,6 +210,7 @@ void zmq::stream_engine_t::plug (io_thread_t *io_thread_,
|
||||
connector.set_metadata(metadata);
|
||||
push_msg_to_session (&connector);
|
||||
session->flush ();
|
||||
connector.close();
|
||||
}
|
||||
else {
|
||||
// start optional timer, to prevent handshake hanging on no input
|
||||
|
Loading…
x
Reference in New Issue
Block a user