Skip to content

Force a limit on the size of HTTP headers. - #154

Merged
ltratt merged 1 commit into
softdevteam:masterfrom
ltratt:stop_too_long_headers
Sep 24, 2026
Merged

ltratt merged 1 commit into
softdevteam:masterfrom
ltratt:stop_too_long_headers

Conversation

@ltratt

@ltratt ltratt commented Sep 24, 2026

Copy link
Copy Markdown
Member

I don't know why I didn't do this at the same time as the HTTP body, but better late than never. The aim here is, as before, to set a limit that no sane client is likely to come close to: this is really designed to only deal with malicious or gone-bonkers clients.

While I'm here, (at last) add a test for the body check.

@ltratt
ltratt added this pull request to the merge queue Sep 24, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 24, 2026
I don't know why I didn't do this at the same time as the HTTP body, but
better late than never. The aim here is, as before, to set a limit that
no sane client is likely to come close to: this is really designed to
only deal with malicious or gone-bonkers clients.

While I'm here, (at last) add a test for the body check.
@ltratt
ltratt force-pushed the stop_too_long_headers branch from 2d7534a to 17e551e Compare September 24, 2026 12:08
@ltratt
ltratt enabled auto-merge September 24, 2026 12:08
@ltratt
ltratt added this pull request to the merge queue Sep 24, 2026
Merged via the queue into softdevteam:master with commit 24eda5f Sep 24, 2026
2 checks passed
@ltratt
ltratt deleted the stop_too_long_headers branch September 24, 2026 15:08
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.

1 participant