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 — quic: truncate CONNECTION_CLOSE frame reason field by efekrskl · Pull Request #66644 · nodejs/node Conversation
Member
Long reason strings inside a This PR limits the reason string to 256 UTF-8 bytes. Any string longer than the limit will get truncated. Also adds new tests and updates the documentation. I think 256 bytes is a sensible default because the default maximum UDP datagram payload size is 1200 bytes. Before the handshake ngtcp2 can coalesce packets, encoding the same reason with 768 (3x256) bytes at most, this should leave enough headroom. This also matches Google QUICHE's limit
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Collaborator
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. Signed-off-by: Efe Karasakal <[email protected]> Signed-off-by: Efe Karasakal <[email protected]>
efekrskl
force-pushed
the
quic/truncate-close-reason
branch
from
8f2fdd1 to
63c637c
Compare
|
There was an error while loading. Please reload this page.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@ ## main #66644 +/- ## ========================================== + Coverage 90.43% 90.49% +0.06% ========================================== Files 791 797 +6 Lines 276593 277598 +1005 Branches 53112 53330 +218 ========================================== + Hits 250126 251204 +1078 + Misses 16867 16800 -67 + Partials 9600 9594 -6 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Signed-off-by: Efe Karasakal <[email protected]>
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Landed in 1a54c4f |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Signed-off-by: Efe Karasakal <[email protected]> PR-URL: #66644 Reviewed-By: Tim Perry <[email protected]>
Signed-off-by: Efe Karasakal <[email protected]> PR-URL: nodejs#66644 Reviewed-By: Tim Perry <[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.