Skip to content

Conversation

@ansd
Copy link
Member

@ansd ansd commented Aug 9, 2023

since MQTT 5.0 supports negative acknowledgements thanks to reason codes in the PUBACK packet.

We could either choose reason code 128 or 131. The description code for
131 applies for rejected messages, hence this commit uses 131:

The PUBLISH is valid but the receiver is not willing to accept it.

@mergify mergify bot added the bazel label Aug 9, 2023
since MQTT 5.0 supports negative acknowledgements thanks to reason codes in the PUBACK packet. We could either choose reason code 128 or 131. The description code for 131 applies for rejected messages, hence this commit uses 131: > The PUBLISH is valid but the receiver is not willing to accept it.
@ansd ansd requested a review from deadtrickster August 9, 2023 15:04
@ansd ansd marked this pull request as ready for review August 9, 2023 15:04
@ansd ansd added this to the 3.13.0 milestone Aug 9, 2023
@deadtrickster
Copy link
Contributor

For me it all makes sense, but I've found new confirms suite extremely hard to read. I got lost in those U{n} very quickly - hard to keep initial state in mind for each paragraph.

@michaelklishin michaelklishin merged commit 17c9acf into main Aug 9, 2023
@michaelklishin michaelklishin deleted the mqtt-nack branch August 9, 2023 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants