Skip to content

feat: add MaxRequestBodySize flag and enforce request body size limit#73

Merged
soulteary merged 1 commit intomainfrom
2026-01-06-ypua
Jan 6, 2026
Merged

feat: add MaxRequestBodySize flag and enforce request body size limit#73
soulteary merged 1 commit intomainfrom
2026-01-06-ypua

Conversation

@soulteary
Copy link
Copy Markdown
Owner

Introduced a new MaxRequestBodySize flag to configure the maximum size of request bodies, defaulting to 10MB. Updated the CLI and environment parsing functions to support this new flag. Enhanced the createHookHandler function to enforce the request body size limit, returning appropriate errors for oversized requests. This change improves resource management and prevents potential memory exhaustion issues.

Introduced a new MaxRequestBodySize flag to configure the maximum size of request bodies, defaulting to 10MB. Updated the CLI and environment parsing functions to support this new flag. Enhanced the createHookHandler function to enforce the request body size limit, returning appropriate errors for oversized requests. This change improves resource management and prevents potential memory exhaustion issues.
@soulteary soulteary merged commit 007f762 into main Jan 6, 2026
2 checks passed
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