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_pub -l hangs when stdin ends. #1448
Comments
majekw
added a commit
to majekw/mosquitto
that referenced
this issue
Oct 6, 2019
Signed-off-by: Marek Wodzinski <[email protected]>
6 tasks
majekw
added a commit
to majekw/mosquitto
that referenced
this issue
Oct 10, 2019
Signed-off-by: Marek Wodzinski <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
since 7d954fa
mosquitto_pub -l
fails frequently to exit after stdin ends. There must be some race condition as when I test it withstrace -f
it hangs every time.It looks like old behavior was:
status
toSTATUS_WAITING
mosquitto_disconnect_v5
, sleep,my_disconnect_callback
to setconnected
tofalse
After 'fix' it changed to:
status
toSTATUS_WAITING
andstdin_finished
totrue
mosquitto_disconnect_v5
and sleepThe text was updated successfully, but these errors were encountered: