ZMQ_RCVMORE returns TRUE sometimes when no message is available
Description
Environment
None
Activity
Show:
PieterP September 2, 2011 at 10:07 AM
Not reproducible, cancelling the issue.
Martin Sustrik June 13, 2011 at 6:50 PM
Do you have a test case?
As a workaround for LIBZMQ-188, in CZMQ I empty all sockets before autoclosing them, by checking if ZMQ_RECVMORE is set and if so, reading a message part. In some cases this blocks, i.e. there is no message part available even though ZMQ_RCVMORE is returning true. My workaround is to do a non-blocking read. This is happening over inproc://.
Update: was fixed, so this code is removed from CZMQ.