sockjs/sockjs-protocol — Issue #33: Automatically close Session on network errors.
Author: majek
Created: 2011-12-19 14:16:30+00:00
State: open

If client goes away, the streaming request will be abrupty closed.

There is no way to figure out what data was actually delivered to the browser and what was lost.

In such case, we should just drop the whole session, SockJS on the client side should report the same error as for timeout - something within the lines of timeout/network error.