Skip to content

refactor: split max_body_size into separate request and response limits#24

Merged
cptrodgers merged 1 commit intomainfrom
hn/separate-response-request-body-config
Mar 30, 2026
Merged

refactor: split max_body_size into separate request and response limits#24
cptrodgers merged 1 commit intomainfrom
hn/separate-response-request-body-config

Conversation

@cptrodgers
Copy link
Copy Markdown
Owner

Renames max_body_size to max_request_body_size and adds max_response_body_size as independent configs. Request default remains 5 MB, response default is 10 MB. Responses can legitimately be larger (base64 images, large tool outputs), so the two limits shouldn't be coupled.

@cptrodgers cptrodgers merged commit ea0c357 into main Mar 30, 2026
1 check passed
@cptrodgers cptrodgers deleted the hn/separate-response-request-body-config branch March 30, 2026 02:11
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