ostinelli/misultin — pull request #72 by RJ (2011-11-18 18:19:33+00:00)
Title: Websocket parser refactor

I refactored the websocket frame/parsing code in hybi-10, I hope it will be easier to follow, and to extend to support websocket protocol extensions later.

It should also handle fragmented messages with control messages mixed in now, although I can't find a client in the wild that will send fragmented messages, so haven't really tested that bit.

Would be good to get some feedback :)
(not expecting a merge atm, using this pull request for discussion)

Cheers,
RJ

cc @dbudworth