jmesnil/stomp-websocket — pull request #10 by rfox90 (2012-03-07 00:53:49+00:00)
Title: Multiple Frames in a websocket message

My broker sends multiple messages per-websocket message as per the spec these are delimited by \0. This fixes this. It is only a predecessor though, we should be looking at content length and parsing using that as Binary streams will break. There is also the content-type header which should help with this.

Unfortunately I do not know coffeescript so edited the compiled file manually as well as stomp-orig.js(I don't remember exactly why i edited this one as well).