Commit Graph

13 Commits (02b92b97ef35aae503559d589cec797800a5be61)

Author SHA1 Message Date
Roger A. Light a1a190b482 Pointless whitespace tidy. 4 years ago
Roger A. Light a4389fc9ce Fix SPDX identifiers: EDL-1.0 -> BSD-3-Clause.
The two licenses are the same.
5 years ago
Roger A. Light 3731535298 Add SPDX license identifiers. 5 years ago
Roger A. Light 584cf51ba7 Update to EPL-2.0 5 years ago
Dan White a65242d74a 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>
5 years ago
Roger A. Light b0a065f790 Update changelog. Release page. Bump copyright. 6 years ago
Roger A. Light 74e1f77310 Fix for previous commit
Stdin mode wouldn't work with normal compiler optimisation levels.
6 years ago
Roger A. Light 7d954fa52e Fix `mosquitto_pub -l` not handling network failures.
Closes #1152. Thanks to Dustin Sallings.
6 years ago
Roger Light 930a314caf Add reason_code to on_publish_v5 callback. 7 years ago
Roger A. Light 5073d83bf8 Don't generate client ids in v5 mode. 7 years ago
Roger Light 47129e395e Use v5 callback in pub client. 7 years ago
Roger A. Light 85d9cfa2fa Fix pub client stdin mode. 7 years ago
Roger A. Light dd158ffeb3 Split common publish code into separate file. 7 years ago