isle-portable/extensions
Christian Semmler 680c7c28fe
Distinguish "room full" from "connection lost" in WebSocket error handling
Fix race condition where onerror clearing m_connectedFlag before onclose
caused any network drop to be misidentified as a room-full rejection.
Add m_wasEverConnected flag set once in onopen, use it in onclose to
assign exit code 10 (room full) vs 11 (connection lost). Rename
rejected API surface to disconnected to reflect the generalized meaning.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-14 09:00:07 -07:00
..
docs/multiplayer Fix camera flip bugs, refactor camera (#11) 2026-03-10 01:15:22 +01:00
include/extensions Distinguish "room full" from "connection lost" in WebSocket error handling 2026-03-14 09:00:07 -07:00
src Distinguish "room full" from "connection lost" in WebSocket error handling 2026-03-14 09:00:07 -07:00