messages that may have been received in the init phase are flushed immediately after engine is plugged in

This commit is contained in:
Martin Sustrik 2009-09-02 11:58:39 +02:00
parent 75a5a8732c
commit 702fdbb5dd

View File

@ -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 ()