https: limit proxy CONNECT response headers · nodejs/node@84e3675 · GitHub
Skip to content

Commit 84e3675

Browse files
committed
https: limit proxy CONNECT response headers
Apply the configured maximum header size while reading CONNECT responses. Rearm the readable listener only once per read pass to avoid unbounded buffer and listener growth. Signed-off-by: Matteo Collina <hello@matteocollina.com> PR-URL: #64545 Reviewed-By: Tim Perry <pimterry@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
1 parent 095fdd3 commit 84e3675

2 files changed

Lines changed: 69 additions & 11 deletions

File tree

‎lib/https.js‎

Lines changed: 24 additions & 11 deletions
Lines changed: 45 additions & 0 deletions

0 commit comments

Comments
 (0)