[zeromq-dev] ZMTP 3.0 spec or implementation error?
Pieter Hintjens
ph at imatix.com
Thu Jul 25 15:16:50 CEST 2013
Merijn, thanks for catching that error in the grammar. I've fixed it.
On Tue, Jul 23, 2013 at 8:19 AM, Martin Hurton <hurtonm at gmail.com> wrote:
> Hi Merijn, you are right, the implementation is still not complete.
> Plan to finish it soon.
>
> - Martin
>
> On Mon, Jul 22, 2013 at 5:07 PM, Merijn Verstraaten
> <merijn at inconsistent.nl> wrote:
>> 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
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
More information about the zeromq-dev
mailing list