mosquitto_pub: exit if broker actively refuses a connection
Fixes eclipse/mosquitto#1904
If the broker rejects the connection, as opposed to the broker being
down, then there is no hope to establish a connection. This adds a
status flag so we can signal to the loop that we should just exit.
Signed-off-by:
Dan White <dan.white@valpo.edu>
parent
cdfa2252
Please register or sign in to comment