You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WasmFS Fetch backend corrupts file reads with custom chunk size when HTTP Range is unsupported #28001
When using wasmfs_create_fetch_backend() with an HTTP server that does not support Range requests (emrun --no_browser), only the first chunk of the file is read correctly. All subsequent bytes are zero.
fread() reports the correct number of bytes read, despite the data being incomplete.
This happens regardless of the configured chunk size:
64 * 1024 (64 KiB): files larger than 64 KiB are truncated to the first chunk.
0 (default 16 MiB): files larger than 16 MiB are truncated to the first chunk.
Activity