Make sure new ROUTER socket honours POLLIN for cmd messages

Signed-off-by: Jon Dyte <jon@totient.co.uk>
This commit is contained in:
Jon Dyte 2011-09-29 09:07:03 +02:00 committed by Martin Sustrik
parent 8485a5e5a4
commit 34b114d15d

View File

@ -260,7 +260,7 @@ bool zmq::router_t::xhas_in ()
{
if (prefetched)
return true;
return fq.has_in ();
return fq.has_in () || !pending_commands.empty();
}
bool zmq::router_t::xhas_out ()