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

MQTT spuriously retransmits #9

Open
nwf opened this issue Aug 31, 2024 · 1 comment
Open

MQTT spuriously retransmits #9

nwf opened this issue Aug 31, 2024 · 1 comment

Comments

@nwf
Copy link

nwf commented Aug 31, 2024

local function handle_retransmit(tmr, self)
will retransmit messages even if the TCP link is healthy, such that the earlier copies are still likely to reach the broker. AIUI, retransmission should occur only in the case that the connection drops and is re-established and this is mandated in MQTT 5 (see https://www.hivemq.com/blog/mqtt5-essentials-part2-foundational-changes-in-the-protocol/ , though I'm having trouble finding the claimed prohibition in the actual spec document).

@zhaojh329
Copy link
Owner

I am really confused about the mqtt message retransmission mechanism.
You are welcome to submit your code to improve it.

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

No branches or pull requests

2 participants