mirror of
https://github.com/eclipse/mosquitto.git
synced 2025-05-09 01:01:11 +08:00

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>