http: coerce content-length to number · nodejs/node@0583c3d · GitHub
Skip to content

Commit 0583c3d

Browse files
marco-ippolitoaduh95
authored andcommitted
http: coerce content-length to number
PR-URL: #57458 Fixes: #57456 Reviewed-By: Tim Perry <pimterry@gmail.com> Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
1 parent 43bea6b commit 0583c3d

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

lib/_http_outgoing.js

Lines changed: 1 addition & 1 deletion

test/parallel/test-http-content-length-mismatch.js

Lines changed: 20 additions & 0 deletions

0 commit comments

Comments
 (0)