[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hybi] WS framing alternative



Greg Wilkins wrote:
> Jamie Lokier wrote:
> > Let's not get confused about what will and won't work.
> > 
> > It doesn't matter whether WHATWG sanctions any new frame type or not:
> > you can't _use_ a frame type if the other end won't recognise it.
> > 
> > That's because the message boundaries are determined by recognising
> > the frame type byte, then parsing the message in a type-specific way.
> 
> 
> Is this true?
> 
> The high order byte is currently defined as selecting between
> sentinel or length encoding, and the 7 lower order bits are ignored.

No it's not true; you are right.  The frame length is determined
by the high order bit.

Sorry for reading too much into mailing list postings and not enough
reading the spec properly, which I will now do.

-- Jamie

Note Well: Messages sent to this mailing list are the opinions of the senders and do not imply endorsement by the IETF.