Skip to content

fix: preserve WASM content length precision - #48

Open
mcollina wants to merge 1 commit into
ShogunPanda:mainfrom
mcollina:security/sec-15-wasm-content-length
Open

mcollina wants to merge 1 commit into
ShogunPanda:mainfrom
mcollina:security/sec-15-wasm-content-length

Conversation

@mcollina

@mcollina mcollina commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Deliver on_headers Content-Length metadata as an exact unsigned BigInt instead of a lossy JavaScript Number, and normalize the metadata flags to documented booleans in the generated wrapper.

This fixes SEC-15 from #38. Runtime regressions cover values above 2^53 and above i64::MAX in both generated WASM variants.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant