Roger A. Light
fdff255916
New dynamic security plugin.
5 years ago
Roger A. Light
4f61f6c161
Fix conversion errors.
5 years ago
Roger A. Light
89733138bb
CMake build fixes.
5 years ago
Roger Light
5b4e4f047b
Fix mosquitto_sub JSON printing with empty payloads.
5 years ago
Roger Light
ff2636b3ae
Build fix for Windows.
5 years ago
Roger A. Light
c90e49af1b
Merge remote-tracking branch 'origin/fixes' into develop
5 years ago
Roger A. Light
e2123b2561
Add --version for all clients.
5 years ago
Roger A. Light
cd33670f6a
Fix build with WITH_CJSON=no
5 years ago
Roger A. Light
bab8cc2a6b
mosquitto_sub now supports extra format specifiers.
...
These are for field width and precision for some parameters.
5 years ago
Roger A. Light
a224a8f217
Don't busy loop with `mosquitto_pub -l` on a slow connection.
5 years ago
Roger A. Light
9929ce0a26
All clients exit with an error exit code on CONNACK failure.
...
Closes #1778 . Thanks to jflambert.
5 years ago
Roger A. Light
1b060bb064
Guard against use-after-free.
...
Coverity Scan 1431131, 1431135, 1431141.
5 years ago
Roger A. Light
e272f8fbca
mosquitto_pub: Close file on file too large.
...
This wasn't a problem because this error caused the program to
exit, so there was no real resource leak.
Coverity Scan 1430457.
5 years ago
Roger A. Light
f846711ea2
mosquitto_pub now sends 0 length files without an error when using `-f`.
5 years ago
Roger A. Light
cadcde52a4
Remove duplicate code.
...
Coverity Scan 1430458.
5 years ago
Roger A. Light
5b4b079105
mosquitto_pub: Print reason string on publish error, if it exists.
5 years ago
Abilio Marques
22ffefe7f6
remove cjson stranded reference when building WITH_CJSON=no
...
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
5 years ago
Roger A. Light
24049b1a1e
Fix mosquitto_sub %j or %J not working on Windows.
...
Closes #1674 . Thanks to amigian74.
5 years ago
Roger A. Light
c766bdfeb0
Display time out message only on SIGALRM.
5 years ago
Roger A. Light
b726e2f1ec
mosquitto_sub %j and %J timestamps are now in a ISO 8601 compatible format.
5 years ago
Roger A. Light
40bad1a999
Fix conversion warnings in client code
...
Issue #1653 .
6 years ago
Roger A. Light
0da723c1ec
Add `--random-filter` to mosquitto_sub.
6 years ago
Roger A. Light
d96543c0b8
Merge branch 'fixes' into develop
6 years ago
Roger A. Light
b0a065f790
Update changelog. Release page. Bump copyright.
6 years ago
Roger A. Light
f16d9e2bcf
Add file missing from earlier commit.
6 years ago
Roger A. Light
17e20de9e7
Fix session-expiry-interval for v5 clients using -c.
...
Default behaviour for v5 clients using `-c` is now to use infinite length
sessions, as with v3 clients.
Closes #1546 . Thanks to Kiran Pradeep.
6 years ago
Roger A. Light
019d4214b8
Fix session-expiry-interval for v5 clients using -c.
...
Default behaviour for v5 clients using `-c` is now to use infinite length
sessions, as with v3 clients.
Closes #1546 . Thanks to Kiran Pradeep.
6 years ago
Roger A. Light
56d0b950ac
Fix `--remove-retained` not obeying the `-T` option.
...
This means `--remove-retained -t bbc/# -T bbc/one/#` would remove all
retained messages in `bbc/#`, instead of leaving all of the topics in
`bbc/one/#`.
Closes #1585 . Thanks to Simon Moser.
6 years ago
Roger A. Light
3671a6dfdb
Add `-x` argument to all clients.
...
This allows the session-expiry-interval property to be easily set for
MQTT v5 clients.
6 years ago
Roger A. Light
4e1e0f955f
Record of which client argument letters are in use.
6 years ago
Roger A. Light
6aa9b91fff
Add `testing` target for compiling test client fixes.
6 years ago
Roger A. Light
d60e86d2a3
Add TCP_NODELAY support to lib and clients.
...
Closes #1526 . Thanks to Felix Moessbauer.
6 years ago
Roger A. Light
c0443637e8
Merge branch 'master'
...
Conflicts:
ChangeLog.txt
config.mk
src/context.c
src/loop.c
src/subs.c
test/broker/01-connect-bad-packet.py
test/broker/02-subpub-qos1-bad-pubcomp.py
test/broker/02-subpub-qos1-bad-pubrec.py
test/broker/02-subpub-qos2-bad-puback-1.py
test/broker/02-subpub-qos2-bad-puback-2.py
test/broker/02-subpub-qos2-bad-pubcomp.py
test/broker/02-subpub-qos2.py
test/broker/07-will-null-topic.py
6 years ago
Basavesh Shivakumar
9bebab46ca
In sub_client.c, call mosquitto_destroy()
...
Fixes : #1513 and frees resources when someone terminates
via SIGTERM or SIGINT.
Signed-off-by: Basavesh Shivakumar <basavesh.shivakumar@gmail.com>
6 years ago
Roger A. Light
1e04b22833
Fix `mosquitto_pub -l` not sending the final line of stdin
...
This would happen if the final line did not end with a new line.
Closes #1473 . Thanks to majekw.
6 years ago
Roger A. Light
6bde209799
Added `CLIENT_STATIC_LDADD` to makefile builds
...
This allow more libraries to be linked when compiling the clients with a
static libmosquitto, as required for e.g. openssl on some systems.
Closes #1371 . Thanks to Fabrice Fontaine.
6 years ago
Roger A. Light
22eb193309
Merge branch 'stdin-fix-1' of git://github.com/majekw/mosquitto into majekw-stdin-fix-1
6 years ago
Roger A. Light
9cdc822a19
Add changelog, change msg text for previous merge.
6 years ago
Roger Light
dc21bc513c
Merge pull request #1430 from abiliojr/exit-on-no-subscription
...
mosquitto_sub: Exit on all subscription denied
6 years ago
Roger A. Light
aabf850a62
Separate pub client loops for better readability.
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 Light
4e7e6c641f
Merge pull request #1473 from majekw/stdin-rewrite
...
mosquitto_pub: split main loop.
6 years ago
Roger Light
1c6666b63a
Add user-property output support to sub/rr.
6 years ago
Roger A. Light
59c0bfe6e1
Add support for v5 property printing to mosquitto_sub/rr in non-JSON mode.
6 years ago
Roger A. Light
9e4226622f
Add `--pretty` option to mosquitto_sub/rr
...
If active, this produces formatted JSON output rather than the normal
minimised output.
6 years ago
Roger Light
e5237ae7e5
Add support for sub/rr v5 prop output in JSON mode
6 years ago
Roger A. Light
ad5c2e11d9
Use cJSON for producing JSON output in clients.
...
Closes #1222 . Thanks to Ben Barbour.
6 years ago
majekw
50c9a4b0b0
Fix `mosquitto_pub -l` hang when stdin stream ends. Closes #1448 .
...
Signed-off-by: Marek Wodzinski <majek@w7i.pl>
6 years ago
Roger A. Light
8a4ae28fa9
Fix duplicate cfg definition in rr_client.
...
Closes #1453 . Thanks to jveber.
6 years ago
Roger A. Light
499e2f2e98
Add support for unix sockets to broker, lib, and clients.
6 years ago