[zeromq-dev] Send&Receive is broken in v2.1.5?

Artem Rodygin artem.rodygin at gmail.com
Wed Apr 20 15:35:29 CEST 2011


Hello,

I have upgraded to v2.1.5 (was 2.1.4 before), rebuilt my application,
and my unit-test suite returned a lot of failures after that.
I took a look at the delta between 2.1.4 and 2.1.5 - maybe I don't
understand the idea, but probably you meant:

    if (unlikely ((msg_->flags | ZMQ_MSG_MASK) != ZMQ_MSG_MASK)) {

instead of:

    if (unlikely ((msg_->flags | ZMQ_MSG_MASK) != 0xff)) {

This appears twice (lines 468 and 513) in the "socket_base.cpp". When
I changed these two lines as I described above - everything started to
work fine.

Please let me know, what do you tihink.

Thank you,
Artem

P.S. I have raised new issue #197 at github, and just informing about
it by this email as advised at the "Report an Issue" how-to on the
site.



More information about the zeromq-dev mailing list