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
Commit 8a82a46
Browse filesBrowse the repository at this point in the historyBrowse files
fix(server): account for normalized inbound JSON (#8026)
* fix(server): account for normalized inbound JSON
* fix(server): measure parsed JSON size without recursion
Normalized JSON byte accounting now walks the parsed value iteratively and returns the UTF-8 length JSON.stringify would produce, so deeply nested valid bodies are measured instead of throwing.
* fix(server): keep JSON size measurement memory bounded by depth
Walk containers with one cursor frame each instead of queuing every
element, so wide arrays add no allocation proportional to their length.
* docs(server): describe JSON measurement memory precisely
* ci: run the full Ubuntu shards for this head
---------
Co-authored-by: JUN <[email protected]>
0 commit comments