mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-28 11:31:56 +01:00
Problem: REQ socket with ZMQ_REQ_RELAXED does not report ZMQ_POLLOUT when queried for events after first message.
Solution: Check for strictness before returning false if no reply has been received.
This commit is contained in:
@@ -213,7 +213,7 @@ bool zmq::req_t::xhas_in ()
|
||||
|
||||
bool zmq::req_t::xhas_out ()
|
||||
{
|
||||
if (receiving_reply)
|
||||
if (receiving_reply && strict)
|
||||
return false;
|
||||
|
||||
return dealer_t::xhas_out ();
|
||||
|
||||
Reference in New Issue
Block a user