Files
bun.sh/packages
Claude Bot 66b96948a4 feat(http): add --max-http-header-count CLI flag
Adds a configurable maximum HTTP header count limit, similar to
--max-http-header-size. This allows servers to accept requests with
more than the default 100 headers.

Features:
- CLI flag: --max-http-header-count <INT> (default: 100)
- Node.js API: http.maxHeadersCount getter/setter
- Dynamic header allocation when limit > 100 (fast path for default)
- Returns HTTP 431 when header count exceeds limit

Fixes #6982

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 01:15:20 +00:00
..