mirror of
https://github.com/zeromq/libzmq.git
synced 2025-02-01 14:55:59 +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:
parent
8485a5e5a4
commit
34b114d15d
@ -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 ()
|
||||
|
Loading…
x
Reference in New Issue
Block a user