Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: handle ill-formatted packet from server
The decoder can throw an error when trying to decode an invalid payload sent by the server, so the manager will now catch it, close the connection and then reconnect instead of crashing. Related: - socketio/socket.io#4392 - #1551
- Loading branch information