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

Fix wrong remaining length size #67

Merged

Conversation

daanpape
Copy link
Contributor

@daanpape daanpape commented Feb 5, 2020

The remaining length in the mqtt_pack_publish_request function was too small, I have changed this to a 32 bit unsigned integer. The library now allows the client to publish packets of the maximum allowed length according to the spec.

daanpape and others added 2 commits February 5, 2020 12:43
…_t to allow MQTT packets to be of maximum allowed length.
@LiamBindle LiamBindle merged commit 399361f into LiamBindle:master Feb 5, 2020
@LiamBindle
Copy link
Owner

Thanks @daanpape!

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.

2 participants