test: correct header length subtraction · nodejs/node@0b0cd8d · GitHub
Skip to content

Commit 0b0cd8d

Browse files
TrottMylesBorins
authored andcommitted
test: correct header length subtraction
In test-http-max-http-headers, a comment asks why we are subtracting 32 from the length of the invalid-length-by-1 headers instead of just 1. Subtracting 1 seems to be correct and works. PR-URL: #30712 Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent b37609d commit 0b0cd8d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

test/sequential/test-http-max-http-headers.js

Lines changed: 1 addition & 2 deletions

0 commit comments

Comments
 (0)