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
WASM: completeness check skipped entirely when an asset's size is unknown #4024
file.size is 0 whenever the declaration carries no sizeand the server sends no Content-Length -- chunked responses, some CDNs, any text-form .lnk served by a host that omits it. Those are exactly the cases where a truncated download is most likely, and they are the ones that skip verification.
AudioUrl passes only because raw.githubusercontent.com sends Content-Length. The check has never been exercised against an unknown-size asset.
Why it matters
A truncated asset is invisible at runtime. FileData keeps its declared capacity, so is_eof() stays false while read() returns 0 -- the sketch waits on bytes that never arrive, with nothing in the log.
Activity
fix(wasm): verify unknown-size asset transfers
fix(wasm): verify unknown-size asset transfers
fix(wasm): verify unknown-size asset transfers (FastLED#4096)