mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-28 19:52:00 +01:00
Make sure new ROUTER socket honours POLLIN for cmd messages
Signed-off-by: Jon Dyte <jon@totient.co.uk>
This commit is contained in:
@@ -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 ()
|
||||
|
||||
Reference in New Issue
Block a user