Closed MrEthan closed 1 year ago
nice
Thanks @MrEthan! I found the same issue while writing some samples for V5 packet.
The (original) test examples do not work with test.mosquitto.org
if I set the lengths to include the NULL character.
Otherwise, I was able to cherry-pick your change and successfully PUB user properties. All 6 tests also passed with your changes.
Closing as superseded by #241
when we use type union to store the string pair, the key and value of string pair will be the same.