Skip to content

Increase initial AMQP 0-9-1 connection frame size limit (backport #13542) #13543

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

Merged
merged 1 commit into from
Mar 16, 2025

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Mar 15, 2025

Before the client authenticates, the standard
frame_max is not used. Instead, the initial limit uses a special constant.

This is fine for password or x.509 certificate-based authentication but not for some JWT tokens, which can vary in size, and take multiple kilobytes.

8 kB specifically is the default HTTP header length limit used by Nginx.
Sounds like this value was good enough for a lot of Bearer headers with JWT tokens.

Closes #13541.


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

Before the client authenticates, the standard
frame_max is not used. Instead, the limit is
a special constant.

This is fine for password or x.509 certificate-based
authentication but not for some JWT tokens,
which can vary in size, and take multiple
kilobytes.

8 kB specifically is the default HTTP header
length limit used by Nginx.
Sounds like this value was good enough
for a lot of Bearer headers with JWT tokens.

Closes #13541.

(cherry picked from commit b807887)
@michaelklishin michaelklishin merged commit 274483c into v4.1.x Mar 16, 2025
271 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v4.1.x/pr-13542 branch March 16, 2025 07:09
michaelklishin added a commit that referenced this pull request Mar 16, 2025
Increase initial AMQP 0-9-1 connection frame size limit (backport #13542) (backport #13543)
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