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

Re: [hybi] Websocket algorithmic specification



Greg Wilkins wrote:
>  send the following bytes to the remote server
>  47 45 54 20
> 
> A literal reading of the spec would interpret that as
> meaning that the bytes actually have to be sent, while
> any sane implementation is going to append the bytes to
> a buffer to be sent/flushed sometime later.
> 
> Does this mean that ws server could validly reject a
> handshake as non compliant if these bytes arrived
> in the same packet as the subsequent bytes?

No, because TCP does not preserve write boundaries.

-- Jamie

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