Commit 34b114d1 authored by Jon Dyte's avatar Jon Dyte Committed by Martin Sustrik

Make sure new ROUTER socket honours POLLIN for cmd messages

Signed-off-by: 's avatarJon Dyte <jon@totient.co.uk>
parent 8485a5e5
...@@ -260,7 +260,7 @@ bool zmq::router_t::xhas_in () ...@@ -260,7 +260,7 @@ bool zmq::router_t::xhas_in ()
{ {
if (prefetched) if (prefetched)
return true; return true;
return fq.has_in (); return fq.has_in () || !pending_commands.empty();
} }
bool zmq::router_t::xhas_out () bool zmq::router_t::xhas_out ()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment