fiorix/cyclone — pull request #36 by tobypadilla (2011-12-17 17:08:06+00:00)
Title: New WebSocket Architecture

Hi guys,

I took a crack at rewriting the websocket handler using subclasses for each protocol. This also fixes some bugs the old code had around partial data and multiple messages.

Definitely a lot less messy than it was before, but any improvements are welcome!

Not sure if you want to pull the old websocket handler out of web.py but I left it in for compatibility purposes.