1
0
Fork 0
godot/modules/websocket
Fabio Alessandrelli 81181c5941 [WS] Fix peer stuck in CLOSING state
This was due by the buffer being cleared on close (including in closing
state) preventing further reads.

This commit changes the close logic to only clear the buffer when the
peer connection has been fully closed (acknowledged by the other end, or
closed due to a "broken" connection).
2025-01-18 16:01:40 +01:00
..
doc_classes [WebSocket] Clarify that connect_to_url is non-blocking 2024-11-27 13:31:28 +01:00
editor Remove unused header in drivers and modules. 2024-12-24 00:40:47 +08:00
SCsub SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
config.py
emws_peer.cpp Replace some problematic uses of `String::num` to `String::num_int64` 2025-01-15 12:51:51 -05:00
emws_peer.h Set clang-format `RemoveSemicolon` rule to `true` 2024-10-25 13:49:43 -04:00
library_godot_websocket.js
packet_buffer.h [WS] Implement wslay unbuffered message parsing 2024-11-12 17:19:39 +01:00
register_types.cpp Remove unused header in drivers and modules. 2024-12-24 00:40:47 +08:00
register_types.h
remote_debugger_peer_websocket.cpp Reduce and prevent unnecessary random-access to `List` 2024-05-04 16:08:55 +02:00
remote_debugger_peer_websocket.h
websocket_multiplayer_peer.cpp Remove unused header in drivers and modules. 2024-12-24 00:40:47 +08:00
websocket_multiplayer_peer.h Remove unused header in drivers and modules. 2024-12-24 00:40:47 +08:00
websocket_peer.cpp [WebSocket] Add optional heartbeat via "ping" control frames. 2024-11-07 15:18:46 +01:00
websocket_peer.h [WS] Implement wslay unbuffered message parsing 2024-11-12 17:19:39 +01:00
wsl_peer.cpp [WS] Fix peer stuck in CLOSING state 2025-01-18 16:01:40 +01:00
wsl_peer.h Merge pull request #100631 from Faless/fix/wslay_frame_end_not_fin 2025-01-03 00:48:47 +01:00