Commit Graph

5 Commits

Author SHA1 Message Date
INADA Naoki c6596d55a4 Replace tornado.util.bytes_type to bytes 2014-08-25 14:56:49 +09:00
Ben Darnell 576c1c43bc Implement permessage-deflate websocket extension.
Parameters to the extension are not fully supported (the client side
supports client_no_context_takeover which is mandatory to implement,
but the server rejects any parameters offered by the client, and neither
side supports setting wbits).

Closes #308.
Closes #668.
2014-07-27 01:32:09 -04:00
Ben Darnell 5a18d50f44 Disable slow websocket performance tests by default.
Add pypy to the mix for when we do run the perf tests.  Depending on
the benchmark pypy is ~twice as fast as cpython 2.7
2012-01-21 17:12:22 -08:00
Ben Darnell 33cd3456d5 Add an explicit binary option to WebSocketHandler.write_message.
Switching automatically based on python's bytes vs unicode types is
error-prone in python2 where e.g. json_encode returns bytes.

Closes #429.
2012-01-07 17:34:48 -08:00
Ben Darnell 34b59827c9 Add websocket conformance tests using autobahn 2011-12-30 12:53:11 -08:00