I've written a chat server using node.js (v0.8.14) and socket.io (v0.9.13). Socket.io is configured to use the transports websocket, htmlfile, xhr-polling, jsonp-polling.
This results in clients with modern browsers using websockets, and "primitive"brosers (i.e. I.E) using the htmlfile transport.
Some cients using htmlfile (not all) seem to inexplicably disconnect every 10 minutes. The disconect is quick: in less than a second, a connect happens (succesfully). This does not happen with websockets. Obviously the goal is to have the experience of a persistent connection here, without disconnects.
Can anyone shed their light on this issue? I am using 'force new connection':true in the client, could this be the issue? I read somewhere that some ISP's proxies or load balancers don't allow for long standing html connections - could this be the culprit? Would 'force new connection':false make these recurring disconnects "silent" (so not triggering a full-blown disconnect)?
Any help would be greatly appreciated!
Mike