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

Fixed TopicAlias functionality. #783

Merged
merged 1 commit into from
Jan 20, 2021
Merged

Fixed TopicAlias functionality. #783

merged 1 commit into from
Jan 20, 2021

Commits on Jan 20, 2021

  1. Fixed TopicAlias functionality.

    The the TopicAlias map should be cleared on disconnection.
    If the inflight message has the TopicAlias property, remove it.
    If the inflight message has the empty TopicName and the TopicAlias,
    the original TopicName is recovered from the TopicAlias at the first
    sent, and remove TopicAlias property.
    
    It works well with mosquitto MQTT broker.
    The original mqtt_cpp implementation cause protocol error because of
    using cleared topic alias on resend.
    redboltz committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    cc8927a View commit details
    Browse the repository at this point in the history