Skip to content

add a max-chunk-count config - #1195

Open
pjfanning wants to merge 3 commits into
apache:mainfrom
pjfanning:max-chunk-count
Open

add a max-chunk-count config#1195
pjfanning wants to merge 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
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