-
Notifications
You must be signed in to change notification settings - Fork 582
Header size exception when frame max is negotiated to 0 #407
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
Comments
Since you understand the root cause, why not submit a PR? I don't know if |
No worries, I will take a look since there's enough information available to put together a test case. |
@michaelklishin Sorry, I followed the site instructions to run the client tests but I couldn't make the brokers run. I'd submit a PR if I could add and run at least one test for it, and since I couldn't I opted for just reporting it. |
For this issue to be reproduced both server and client must be configured to use |
@lau-sch any chance you can build the client from master and give it a try? It can be done with |
Oh, and the build system depends on a code generator that will require Python and Erlang 20.3+. |
@michaelklishin Built from latest master, worked great. I haven't seen |
@lau-sch thank you, I'll proceed with producing a release soon. Default |
We started facing errors when trying to publish messages after our upgrade to latest client library:
This is used to send Logstash/SLF4J log statements to Rabbit, we have control over the ConnectionFactory and we don't set frame max, leaving it as 0 (no limit). These errors appeared when upgrading the client lib from 5.0.0 to 5.4.1.
Apparently it was caused by the fix of this issue, since on this line it checks the
frameMax
for zero, but 3 lines below it still uses originalframeMax
to check large headers, causing the exception above.RabbitMQ 3.7.4
Erlang 20.2.3
Java 1.8.0_181
RabbitMQ client 5.4.1
The text was updated successfully, but these errors were encountered: