#5538·socket.io

如果客户端在服务器发出任何事件之前重新连接(称为"零事件"重新连接),则连接状态恢复会失败

作者: jml6m创建于 2026年8月21日更新于 2026年9月1日
标签enhancement

**Describe the bug** When `connectionStateRecovery` is enabled, a client that connects, joins rooms, and disconnects **before the server emits any events** cannot recover its session on reconnection.

内容来源: socketio/socket.io