[zeromq-dev] zmq 2.1 dosn't follow the ZMTP/1.0 spec.

Robert G. Jakabosky bobby at sharedrealm.com
Wed Dec 7 02:22:12 CET 2011


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.

I found this out when working on a zmq protocol dissector [2] for Wireshark.

1. http://rfc.zeromq.org/spec:13
2. https://github.com/Neopallium/lua-zmq/tree/master/ws

-- 
Robert G. Jakabosky



More information about the zeromq-dev mailing list