Commit 2f4207e8 authored by Dan White's avatar Dan White Committed by Roger Light
Browse files

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: default avatarDan White <dan.white@valpo.edu>
parent cdfa2252
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment