Skip to content

add a max-chunk-count config - #1195

Merged
pjfanning merged 3 commits into
apache:mainfrom
pjfanning:max-chunk-count
Aug 4, 2026
Merged

add a max-chunk-count config#1195
pjfanning merged 3 commits into
apache:mainfrom
pjfanning:max-chunk-count

Conversation

@pjfanning

Copy link
Copy Markdown
Member

Each chunk requires parsing size, extension, and terminator. An attacker sending millions of 1-byte chunks causes ~20x parsing overhead. No max-chunk-count limit exists.

This might be overkill and maybe it is better to use a reverse proxy or HTTP request monitoring middleware.

@pjfanning pjfanning changed the title WIP: add a max-chunk-count config add a max-chunk-count config Jul 30, 2026
@pjfanning
pjfanning merged commit a2adc5b into apache:main Aug 4, 2026
6 checks passed
@pjfanning pjfanning added this to the 2.0.0-M2 milestone Aug 4, 2026
@pjfanning
pjfanning deleted the max-chunk-count branch August 4, 2026 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants