Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP API: reduce body size limit for the endpoint used to bind queues/streams/exchanges (backport #12696) #12697

Merged
merged 4 commits into from
Nov 9, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Nov 9, 2024

It does not need to use the "worst case scenario"
default HTTP request body size limit that
is primarily necessary because definition imports
can be large (MiBs in size, for example).

Since exchange, queue names and routing key
have limits of 255 bytes and optional arguments
can practically be expected to be short, we
can lower the limit to < 10 KiB.


This is an automatic backport of pull request #12696 done by [Mergify](https://mergify.com).

It does not need to use the "worst case scenario"
default HTTP request body size limit that
is primarily necessary because definition imports
can be large (MiBs in size, for example).

Since exchange, queue names and routing key
have limits of 255 bytes and optional arguments
can practically be expected to be short, we
can lower the limit to < 10 KiB.

(cherry picked from commit fb300d2)
(cherry picked from commit b0abf88)
(cherry picked from commit 3dc5c46)
@mergify mergify bot added the bazel label Nov 9, 2024
@michaelklishin michaelklishin added this to the 4.0.4 milestone Nov 9, 2024
@michaelklishin michaelklishin merged commit 91c2d15 into v4.0.x Nov 9, 2024
193 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v4.0.x/pr-12696 branch November 9, 2024 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant