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

mosquitto_publish_v5 returns MOSQ_ERR_SUCCESS even if not connected to a broker #1725

Closed
BOTorioN opened this issue Jun 15, 2020 · 1 comment
Labels
Status: Completed Nothing further to be done with this issue, it can be closed by the requestor or committer.
Milestone

Comments

@BOTorioN
Copy link

Hello,

I just upgraded from mosquitto-1.5 to mosquitto-1.6.10 and I see that the mosquitto_publish function now returns a MOSQ_ERR_SUCCESS even if the client is not connected to the broker. It used to return a MOSQ_NO_CONN in this case with the 1.5 version.
The documentation still mentions that it should return a MOSQ_NO_CONN in this case.
Is this the wanted behavior?

Thank you

@ralight
Copy link
Contributor

ralight commented Jul 15, 2020

Thanks for the report, and sorry for not getting to this sooner. I've just pushed a fix to the fixes branch which should sort this.

@ralight ralight added the Status: Completed Nothing further to be done with this issue, it can be closed by the requestor or committer. label Jul 15, 2020
@ralight ralight added this to the 1.6.11 milestone Jul 15, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Status: Completed Nothing further to be done with this issue, it can be closed by the requestor or committer.
Projects
None yet
Development

No branches or pull requests

2 participants