-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
v5 headers missing for QoS 2 subscription #1432
Comments
Closes #1432. Thanks to Magnus Galåen.
Thanks for the detailed report, this was a bug which is now fixed in the With regards the |
Nice! Thank you! I will test it on Monday. And regarding |
I have tested it on my setup, and it works great. Also the |
Hi! :)
MQTT v5 headers seems to be missing when I publish and subscribe to messages with QoS 2. However, QoS 0 and 1 works fine. Don't know if this is a problem with the mosquitto broker, or with the client library.
Using mosquitto 1.6.7 Windows x64. Compiling with Visual Studio Community 2017 compiler in a Qt project.
Here's the callback for the client:
Here's the publish command:
Here are the results for QoS 0, 1 and 2:
QoS 2 is missing headers for content-type and response-topic. Is this a bug in mosquitto? Can anyone reproduce this?
(Unrelated: "free()" has been commented out in the above code snippet because it was causing the program to crash. Don't know if that is a Qt specific problem or what.)
The text was updated successfully, but these errors were encountered: