On Fri, Mar 1, 2013 at 3:56 PM, Chris <
bhp...@gmail.com> wrote:
> The problem is that, even if I explicitly call conn.close() before leaving
> the page, xhr-streaming simply just won't break the connection. Eventually,
> it will be timed out because of timeout limit set on HAProxy.
>
> In fact, I have seen the same problem even with Chrome when it's using
> xhr-streaming instead of websocket, so this is probably not just an IE bug.
> It probably has more to do with xhr-streaming in sockjs itself.
>
> I am fairly confident in terms of reproducing this problem, at least on
> linode. I've tried the same HAProxy version and setup on a different linode
> server this afternoon, and the problem persists. If it helps, I can send you
> the haproxy config for further diagnosis.
Sorry to say, but and I am fairly confident that the problem is somehow specific
to you. Here you have a test for the "onclose" handler on the server side: