socket.io-client icon indicating copy to clipboard operation
socket.io-client copied to clipboard

websocket emit onclose when not have connection

Open zzzaaa opened this issue 14 years ago • 0 comments

We use 'multiple transports' and 'transports' : ['websocket', 'xhr-polling', 'jsonp-polling']

Firefox can't connect to websocket over proxy and change transport to 'xhr-pooling' and work fine. But after 20-30 sec websocket emit signal 'onclose' and close 'xhr-poolling' connection (becose 'xhr-poolling' currently active connection)

Websocket must check active connection, because now his can kill other worked connection.

zzzaaa avatar Mar 12 '12 08:03 zzzaaa