zmq 2.1 dosn't follow the ZMTP/1.0 spec.

Description

When sending messages with zmq 2.1.10 some of the reserved bits (1-6) are set
to one instead of zero like the ZMTP/1.0 specs [1] says. The spec says that
they MUST be zero. Having the reserved bits set to one will cause
compatibility problems when later versions want to set those bits for new
features, so I think this is a bug in the zmq library code.

Environment

None

Attachments

2

Activity

Show:

PieterP March 20, 2012 at 6:28 PM

Pull request made for libzmq also.

PieterP March 20, 2012 at 4:41 PM

OK, fix is merged into 2.1 master

PieterP March 20, 2012 at 4:07 PM

Have made test case and confirmed fix on 2.1.11 (targeted for 2.1.12).

PieterP December 19, 2011 at 1:30 AM

Robert, if you would make a pull request, I'll merge this into the zeromq2-1 distro and get it into the next release. Please do test the patch and make sure it works as expected. Thanks!

Martin Sustrik December 9, 2011 at 10:40 AM

Here's the patch.

Fixed

Details

Assignee

Reporter

Labels

Components

Fix versions

Affects versions

Priority

Created December 7, 2011 at 1:54 AM
Updated August 29, 2013 at 4:22 PM
Resolved March 20, 2012 at 6:28 PM