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
Honor maximum message size limit of MQTT server #15009
Conversation
Setting the limit to 32768 bytes will produce.
So maybe we need to add the negotiated limit in the error message -- eg 49021 (max size = 32768) or something like that. The next message |
|
cd01bc7
to
6b0dfa7
Compare
rebased for conflict resolution + fixed bug |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR is working as expecting, LGTM!
after 2 approving reviews I merged changes in mqtt_websockets submodule from dev to master. |
Summary
New MQTT broker on cloud size has maximum message size set to less than maximum MQTT message size.
We honor this limit now.
This gives us following change in behavior:
BEFORE:
AFTER:
Test Plan
Additional Information
For users: How does this change affect me?