Skip to content

Commit 34abee5

Browse files
authored
http: fix rawHeaders exceeding maxHeadersCount limit
Fixes: #61284 PR-URL: #61285 Reviewed-By: Tim Perry <pimterry@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: René <contact.9a5d6388@renegade334.me.uk> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
1 parent c755b01 commit 34abee5

2 files changed

Lines changed: 30 additions & 2 deletions

File tree

lib/_http_common.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,11 @@ const MAX_HEADER_PAIRS = 2000;
5959
// called to process trailing HTTP headers.
6060
function parserOnHeaders(headers, url) {
6161
// Once we exceeded headers limit - stop collecting them
62-