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

Commit 536ccc7

Browse files
mcollinaaduh95
authored andcommitted
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 466f1f8 commit 536ccc7

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)