mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-09 15:26:04 +00:00
messages that may have been received in the init phase are flushed immediately after engine is plugged in
This commit is contained in:
parent
75a5a8732c
commit
702fdbb5dd
@ -58,6 +58,9 @@ void zmq::zmq_engine_t::plug (i_inout *inout_)
|
||||
set_pollout (handle);
|
||||
|
||||
inout = inout_;
|
||||
|
||||
// Flush all the data that may have been already received downstream.
|
||||
in_event ();
|
||||
}
|
||||
|
||||
void zmq::zmq_engine_t::unplug ()
|
||||
|
Loading…
x
Reference in New Issue
Block a user