nyarly / sockjs-ruby

WebSocket emulation - Ruby server
http://sockjs.org
MIT License
28 stars 5 forks source link

Refactored and some bug fixes #8

Closed kacperk closed 10 years ago

kacperk commented 10 years ago

I've refactored session and web socket transport. I've created suspended state. Also in suspended state messages are not send, but queued in outbox.

There are some bug fixes: lib/meta-state.rb:77:in `block (3 levels) in build_void_state': wrong number of arguments (1 for 0) (ArgumentError) and Exception when sending heartbeat frame: #

nyarly commented 10 years ago

Thanks for this! I was just going to look at these fixes today.

There are still a couple of conditions based on state that I'll clean up and merge by EOD today.