[zeromq-dev] ZMTP 3.0 spec or implementation error?
Merijn Verstraaten
merijn at inconsistent.nl
Mon Jul 22 17:07:22 CEST 2013
I grabbed the most recent master of libzmq from github, but it doesn't seem to follow the ABNF specified in RFC 23? Specifically, the ABNF states:
; A command is a single long or short frame
command = command-size frame-body
command-size = %x04 short-size | %x06 long-size
I'm assuming the "frame-body" is a typo that should be "command-body" instead, since frame-body is undefined, but command-body is defined later. Clearly a command should start with either %x04 or %x06, but when I listen on a socket the libzmq implementation has a %x00 in that position, so either the ABNF is wrong in specifying %x04 as the indicator for short-size, or the implementation is sending out the wrong value.
Cheers,
Merijn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130722/cb60777d/attachment.sig>
More information about the zeromq-dev
mailing list