1
0
Fork 0
godot/modules
Fabio Alessandrelli a2f5eb9cf0 [WS] Fix wslay multi-frame message parsing (again)
We incorrectly assumed that the `payload_length` in the recv start
callback of wslay was the final message size, but according to the
WebSocket  protocol, the payload length always refers to the current
frame's payload size.

The protocol, in fact, do not include a "message payload" length on
purpose to allow sending messages of unknown size without forcing the
sender to buffer the whole message (RFC6455 Section 5.4).

This means a receiving peer has no way to know beforehand how long a
message will be, and needs instead to keep track of the length of each
frame until the FIN one is received to properly reconstruct the message
at the end.
2025-01-28 16:26:11 +01:00
..
astcenc astcenc: Allow runtime decompression of ASTC formats 2025-01-03 12:07:22 +01:00
basis_universal basis_universal: Clarify encoder-only dependencies, only used in editor builds 2024-12-05 21:01:58 +01:00
bcdec bcdec: Fix logic for detecting incomplete blocks 2024-12-14 17:57:44 +01:00
betsy Style: Enable clang-format's `InsertBraces` config 2025-01-09 16:46:51 +01:00
bmp
camera Remove unused headers in servers. 2024-12-20 18:51:01 +08:00
csg Add flag to enable use of accurate path tangents for polygon rotation in `CSGPolygon3D` 2025-01-17 08:18:21 -03:00
cvtt Image: More cleanup and reduced code duplication. 2024-12-12 11:52:59 +01:00
dds Round DDS width/height to next divisor multiple for block compression 2024-11-25 12:55:05 -05:00
enet Remove unused header in drivers and modules. 2024-12-24 00:40:47 +08:00
etcpak Merge pull request #100365 from BlueCube3310/etc-decompress 2025-01-14 00:21:55 +01:00
fbx Remove unused `EditorSceneFormatImporter::_get_import_flags` 2025-01-14 16:57:06 +01:00
freetype Linux: Relax interdependency between freetype, libpng, and zlib for unvendored builds 2025-01-09 00:28:46 +01:00
gdscript Merge pull request #101632 from bruvzg/gds_tween_property_crash 2025-01-17 10:16:55 -06:00
glslang
gltf Remove unused `EditorSceneFormatImporter::_get_import_flags` 2025-01-14 16:57:06 +01:00
godot_physics_2d Fix various typos 2025-01-08 14:47:42 +02:00
godot_physics_3d Remove unused header in drivers and modules. 2024-12-24 00:40:47 +08:00
gridmap Merge pull request #100882 from smix8/node_navmesh_geo_parsers 2025-01-16 17:18:01 -06:00
hdr Remove unused header in drivers and modules. 2024-12-24 00:40:47 +08:00
interactive_music Fix typo in AudioStreamSynchronized.xml 2025-01-12 02:44:01 -08:00
jolt_physics Merge pull request #101815 from mihe/jolt/no-post-step 2025-01-26 11:49:21 -06:00
jpg Remove unused header in drivers and modules. 2024-12-24 00:40:47 +08:00
jsonrpc Jsonrpc: Convert ids to int if they are int by value 2024-12-30 20:06:02 +01:00
ktx KTX: Add support for loading most ETC-compressed formats 2025-01-14 13:17:45 +01:00
lightmapper_rd Merge pull request #100765 from Geometror/lightmapgi-add-downsampling 2025-01-07 23:17:39 +01:00
mbedtls Optimize calls of `utf8` in a few spots to avoid calling it more than once. 2025-01-07 17:24:21 +01:00
meshoptimizer Rewrite index optimization code for maximum efficiency 2024-11-04 06:58:06 -08:00
minimp3 Add AudioStreamMP3 `load_from_file`/`load_from_buffer` and harmonize other audio streams 2025-01-09 15:46:04 +01:00
mobile_vr Remove unused header in drivers and modules. 2024-12-24 00:40:47 +08:00
mono [.NET] Add Obsolete attribute to signal trampolines and emitter functions 2025-01-24 02:18:28 +01:00
msdfgen msdfgen: Update to 1.12 2025-01-09 22:03:43 +01:00
multiplayer Improve use of `Ref.is_null/valid` 2024-12-23 16:35:02 -05:00
navigation Remove erroneous squared version 2025-01-23 20:11:25 +01:00
noise Use LocalVector for Curve and Gradient 2025-01-09 14:25:21 +02:00
ogg
openxr Merge pull request #101294 from devloglogan/openxr-api-update 2025-01-14 00:22:06 +01:00
raycast Remove unused header in drivers and modules. 2024-12-24 00:40:47 +08:00
regex Replace some problematic uses of `String::num` to `String::num_int64` 2025-01-15 12:51:51 -05:00
svg thorvg: Update to 0.15.5 2024-12-04 17:24:43 +01:00
text_server_adv [TextServer] Fix embedded object keys in substrings. 2025-01-19 10:22:46 +02:00
text_server_fb [TextServer] Fix embedded object keys in substrings. 2025-01-19 10:22:46 +02:00
tga Remove unused header in drivers and modules. 2024-12-24 00:40:47 +08:00
theora Remove unused header in drivers and modules. 2024-12-24 00:40:47 +08:00
tinyexr Remove unused header in drivers and modules. 2024-12-24 00:40:47 +08:00
upnp Remove unused header in drivers and modules. 2024-12-24 00:40:47 +08:00
vhacd
vorbis Add AudioStreamMP3 `load_from_file`/`load_from_buffer` and harmonize other audio streams 2025-01-09 15:46:04 +01:00
webp Improve use of `Ref.is_null/valid` 2024-12-23 16:35:02 -05:00
webrtc Improve use of `Ref.is_null/valid` 2024-12-23 16:35:02 -05:00
websocket [WS] Fix wslay multi-frame message parsing (again) 2025-01-28 16:26:11 +01:00
webxr Remove unused header in drivers and modules. 2024-12-24 00:40:47 +08:00
xatlas_unwrap
zip Add a code sample that extracts all files to ZIPReader documentation 2024-12-03 00:37:50 +01:00
SCsub Use scons to calculate all the sources needed for vsproj generation. 2024-11-21 11:11:35 +01:00
register_module_types.h