mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
There was two issues with this behavior: - v3 clients (with allowEIO3: true) were also receiving a "ping" after a successful upgrade, which is incorrect (in v3, it's the client that sends the "ping", and the server answers with a "pong") - the ping timer is not reset after upgrade on the client-side, so an upgrade which took longer than the `pingTimeout` duration could lead to a "ping timeout" error on the client-side I think the latter issue is present since the initial implementation. Related: https://github.com/socketio/socket.io-client-swift/pull/1309#issuecomment-768475704