W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2010

[whatwg] WebSocket length of binary frames and closing handshake

From: Simon Pieters <simonp@opera.com>
Date: Thu, 22 Apr 2010 10:07:30 +0200
Message-ID: <op.vbj0usdeidj3kv@simon-pieterss-macbook.local>
WebSocket data framing

[[
8. If the frame type is 0xFF and the length was 0, then run the following  
substeps:
]]

This will be true for 0xFF 0x80 0x00, or any number of leading 0x80 bytes  
in length. Presumably the frame should only be treated as a closing  
handshake if it was 0xFF 0x00.

-- 
Simon Pieters
Opera Software
Received on Thursday, 22 April 2010 01:07:30 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:22 UTC