GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |
GeezerVison is showing github.com — Backport WebSocket maxPayloadSize fixes to v7.x by mcollina · Pull Request #5423 · nodejs/undici Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@ ## v7.x #5423 +/- ## ========================================== + Coverage 93.01% 93.10% +0.08% ========================================== Files 112 112 Lines 35983 36018 +35 ========================================== + Hits 33471 33535 +64 + Misses 2512 2483 -29 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
a708dc8 to
a6824f7
Compare
(cherry picked from commit bd91f86) Signed-off-by: Matteo Collina <[email protected]>
(cherry picked from commit 9d82667) Signed-off-by: Matteo Collina <[email protected]>
Account for previously received fragment bytes when checking WebSocket payload size limits, so fragmented messages cannot exceed maxPayloadSize by splitting the payload across frames. Add coverage for cumulative fragmented payload size enforcement. Co-authored-by: Matthew Aitken <[email protected]> (cherry picked from commit b4c287b) Signed-off-by: Matteo Collina <[email protected]>
a6824f7 to
b4eb7db
Compare
Treat zero-byte frames as real fragments so fragmented messages can start with an empty frame and empty continuations still count toward maxFragments. Pass dispatcher WebSocket limits through to WebSocketStream's parser, add regression coverage for WebSocket and WebSocketStream fragment limits, make the fragment close tests wait for both endpoints, and fix the Client docs typo for maxFragments. Co-authored-by: Ulises Gascon <[email protected]> (cherry picked from commit c5ed787) Signed-off-by: Matteo Collina <[email protected]>
There was an error while loading. Please reload this page.
* feat: add configurable maxPayloadSize for WebSocket (#4955) (cherry picked from commit bd91f86) * test: fix flaky permessage-deflate limit timeout (#5229) (cherry picked from commit 9d82667) * fix(websocket): enforce max payload size across fragments Account for previously received fragment bytes when checking WebSocket payload size limits, so fragmented messages cannot exceed maxPayloadSize by splitting the payload across frames. Add coverage for cumulative fragmented payload size enforcement. (cherry picked from commit b4c287b) * websocket: handle empty fragments and stream limits Treat zero-byte frames as real fragments so fragmented messages can start with an empty frame and empty continuations still count toward maxFragments. Pass dispatcher WebSocket limits through to WebSocketStream's parser, add regression coverage for WebSocket and WebSocketStream fragment limits, make the fragment close tests wait for both endpoints, and fix the Client docs typo for maxFragments. (cherry picked from commit c5ed787) --------- Signed-off-by: Matteo Collina <[email protected]> Co-authored-by: Matthew Aitken <[email protected]> Co-authored-by: Luigi Pinca <[email protected]> Co-authored-by: Ulises Gascon <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.