Roger A. Light
0123ff1efe
Rename *_with_properties() -> *_v5().
7 years ago
Roger Light
a9d19d0911
Use MQTT 5 reason strings where appropriate in clients.
7 years ago
Roger Light
47129e395e
Use v5 callback in pub client.
7 years ago
Roger Light
3cb8a52ef3
Add reason code to mosquitto_disconnect_with_properties()
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
Roger A. Light
4c0c632dfa
Client memory "leak" fixes.
7 years ago
Roger A. Light
8aa936936e
Library and client support for topic-alias.
7 years ago
Roger A. Light
55b46037da
Change -y to -D in clients.
7 years ago
Roger A. Light
741a8a9cc3
Client disconnect property support, plus disconnect packet fix.
7 years ago
Roger A. Light
12cba75c73
Client support for adding properties.
7 years ago
Roger A. Light
33a523eea9
Add identifiers for v5.
...
Clients know about v5, just need library support...
7 years ago
Roger A. Light
88765a5e80
Consistent use of config.h across the project.
7 years ago
Roger A. Light
dde005ef92
Return error in mosquitto_pub -l if compiled without threading.
7 years ago
Roger A. Light
f4d238be18
Bump copyright years.
8 years ago
Roger A. Light
40e6a75709
Use c99 as compiling standard.
...
Closes : #765 .
8 years ago
Roger A. Light
8a22b918c0
Fix Coverity Scan defects.
8 years ago
Roger A. Light
17029c1e11
Minor usage string updates.
8 years ago
Roger A. Light
81cb7ab547
Merge branch 'fixes' into develop
8 years ago
Roger A. Light
15486f48e7
[636] Correctly handle empty files with "mosquitto_pub -l".
...
Thanks to Aleksandr Makarov.
Bug: https://github.com/eclipse/mosquitto/issues/676
8 years ago
Roger A. Light
712cbfe599
Default to mqtt v3.1.1 for clients.
8 years ago
Roger A. Light
ef7a7850ac
Add -c to mosquitto_pub.
8 years ago
Roger A. Light
8378fe44cf
Update copyrights.
9 years ago
Roger A. Light
bd61d18e92
Small tidy up.
10 years ago
Matteo Croce
59c80d9197
Add MQTT URL scheme support
...
Add option -L to specify user, password, hostname, port and topic at once.
The URL must provided with the -L or --url in the form:
mqtt(s)://[username[:password]@]host[:port]/topic
Change-Id: Ia626a28981a38807a254ae32c6ffb29b122b8a28
Signed-off-by: Matteo Croce <matteo@openwrt.org>
10 years ago
Roger A. Light
c5a376489e
[483979] Fix "mosquitto_pub -l" stripping the final character on a line.
...
Thanks to Allan Kobelansky.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=483979
10 years ago
Roger A. Light
89763a51d9
[478917] Don't truncate lines with "mosquitto_pub -l"
...
Thanks to Jan-Piet Mens.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=478917
10 years ago
Eduardo Sanchez
dae1f95371
Adding a new temporary variable for realloc memory in order to keep the reference to the allocated memory before the function returns.
...
In case that realloc fails (i.e. OOM), before exiting with "return(1)", the application is still able to free the corresponding allocated memory.
Signed-off-by: Eduardo Sanchez <ledusanchez@gmail.com>
10 years ago
Roger A. Light
8a35c3cd0d
Add client support for MQTT v3.1.1.
11 years ago
Roger A. Light
c12d3ebc0b
[454852] Support setting keepalive on pub client.
...
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=454852
11 years ago
Roger A. Light
166bc2c481
Cleanup client memory on error.
11 years ago
Roger A. Light
42420cae46
Add experimental SOCKS5 support for the clients.
11 years ago
Roger A. Light
d9d1f2f7b8
Don't display usage information on every error.
11 years ago
Roger A. Light
e6c5f5af7e
Add missing usage text.
11 years ago
Roger A. Light
fd7fbba3a5
Use shared config code for debug arg.
12 years ago
Roger A. Light
cb0e355d9e
Only provide srv capabilities ifdef WITH_SRV.
12 years ago
Roger A. Light
94ec27911b
Shared config parsing for client utils.
12 years ago
Roger Light
0364bd1be7
Initial contribution.
12 years ago