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

[whatwg] WebSockets feedback

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 6 Aug 2010 01:14:35 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1008060114110.7470@ps20323.dreamhostps.com>
On Thu, 22 Jul 2010, Simon Pieters wrote:
> 
> Because I expected the closing frame to be the exact sequence 0xFF 0x00 
> and nothing else. It makes the protocol simpler to understand and 
> explain.

This is a moot point now.

> The problem I was discussing is the following scenario:
> 
> 1. Client opens a websocket without any specified subprotocol.
> 2. Server replies with subprotocol 'r?ksm?rg?s'.
> 3. Client accepts the connection.
> 
> Next time, the client cannot open a websocket with the subprotocol that 
> the server used, since r?ksm?rg?s is non-ascii and will raise an 
> exception if used in the constructor. Hence, I think the server should 
> only be allowed to use ascii subprotocols (without spaces) to conform to 
> the spec.

Fixed.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 5 August 2010 18:14:35 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:59 UTC