mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 04:17:57 +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)
|
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 ()
|
||||||
|
|||||||
Reference in New Issue
Block a user