mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
An immediate setTimeout was used to unblock the WebSocket write. Unfortunately, this setTimeout can be throttled by browsers when the tab is backgrounded. This can lead to missed pong responses to server pings, which eventually leads to disconnection. Related: https://github.com/socketio/engine.io-client/issues/649