WebSocket transport doesn't work in Safari #35

Closed
thorlarholm opened this Issue Mar 15, 2012 · 1 comment

Projects

None yet

2 participants

@thorlarholm
Contributor

Tornado 2.2 changed their WebSocketHandler implementation so that it implements RFC 6455 [0] as the default, and only, implementation.

However, the latest Safari 5.1 still only supports draft 76 and there is no planned support for RFC 6455 in Safari 6 either [1].

tornado.websocket.WebSocketHandler can be configured to still support outdated clients by overriding allow_draft76 [2].

I would suggest that an application setting is added that allows you to enable draft 76 support, as Tornadio2 users cannot override the default WebSocketHandler.

[0]
http://tools.ietf.org/html/rfc6455

[1]
http://caniuse.com/websockets

[2]
http://www.tornadoweb.org/documentation/websocket.html#tornado.websocket.WebSocketHandler.allow_draft76

@mrjoes mrjoes added a commit that closed this issue Mar 15, 2012
@mrjoes Fixed #35. 5f3423e
@mrjoes mrjoes closed this in 5f3423e Mar 15, 2012
Contributor

Thanks :)

I might do a commit sometime soon that adds this as an application setting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment