sockjs/sockjs-ruby — comment on commit 575219a8da711b24cdb8755a67dd9e5112ff9ec7
File:  line 0
By majek:

When the json is broken, that means the client is violating the protocol. The core bit of the protocol. As such, it is naive to assume the client will be able to understand the close frame.

When someone is talking to me in foreign language there is no reason to calmly explain in English that I don't understand. Aborting is the sanest solution.