Commit Graph

43 Commits (4f838e51611b9a71f2e3e98e6fddd02a5c1b4c03)

Author SHA1 Message Date
Roger A. Light 5b2bf3d1c1 Bump version number, update copyrights. 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 6d63468a28 Don't use / in auto-generated client ids. 8 years ago
Roger A. Light 9a2987c145 Missing malloc check. 9 years ago
Roger A. Light cac5464f7f Use of --ciphers no longer requires you to also pass --tls-version.
Closes #380.

Bug: https://github.com/eclipse/mosquitto/issues/380
9 years ago
Roger A. Light 49936c8ec3 Incorrect quoting. 10 years ago
Roger A. Light 69a08ab905 Fix string quoting in CMakeLists.txt. Closes #4. 10 years ago
Roger A. Light 35c4d3d59a Handle some unchecked malloc() calls. Closes #1.
Thanks to Markus Elfring.
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
Anmol Sarma a354dd53ae Remove superfluous NULL checks before free()
Change-Id: I39db613c8e75c1437b909de263df4f96a7f76880
Signed-off-by: Anmol Sarma <me@anmolsarma.in>
10 years ago
Roger A. Light c1974e5402 Report error string on connection failure rather than error code. 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 8de6b92e3c Fix calls to mosquitto_connect*_async() not completing. 11 years ago
Roger A. Light a9cd86f206 Fix usage text. 11 years ago
Roger A. Light 15e0236d43 [453850] Add -C option to mosquitto_sub.
Allows the client to quit after receiving count messages.

Replaces the (unreleased) -1 option.

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=453850
11 years ago
Roger A. Light be6a6430dd Fix change in macro name. 11 years ago
Roger A. Light 8a35c3cd0d Add client support for MQTT v3.1.1. 11 years ago
Roger A. Light b6a0b01e1e [457162] Fix mosquitto_sub not honouring --qos.
Thanks to Christoph Krey.

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=457162
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 d9e41fe065 Remove dead code. 11 years ago
Roger A. Light 41f5d1fd43 Fix parsing of malformed socks urls. 11 years ago
Roger A. Light 166bc2c481 Cleanup client memory on error. 11 years ago
Roger A. Light 36f88d902d Fix errors from big code import. 11 years ago
Roger A. Light 0c3e4e50cc Windows implementation of client config files. 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 65a4b790f3 Check for invalid topics before connecting. 11 years ago
Roger A. Light ae1477c08f Windows fixes. 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 2db22f3abd Merge 1.3.2 branch in 1.4 branch. 12 years ago
Roger A. Light 58204d984c Fixes for WITH_TLS=no. 12 years ago
Roger A. Light 330a7a882e Add CROSS_COMPILE to Makefiles. 12 years ago
Roger A. Light aab7a2688c Fix SRV support when building with CMake. 12 years ago
Roger A. Light cb0e355d9e Only provide srv capabilities ifdef WITH_SRV. 12 years ago
Roger A. Light dc71f9157d Use $(STRIP) for stripping binaries when installing, to allow easier cross compilation.
Thanks to Frank Pagliughi.
12 years ago
Roger A. Light 0bbdda2c4e Allow comments in config files. 12 years ago
Roger A. Light 7e410eb7f0 CMake fixes for client shared code. 12 years ago
Roger A. Light a285c6ce5c Add -1 (oneshot) option to mosquitto_sub.
Thanks to JP Mens.
12 years ago
Roger A. Light fe91e71399 Support client default config files on non Windows. 12 years ago
Roger A. Light 94ec27911b Shared config parsing for client utils. 12 years ago
Roger Light 0364bd1be7 Initial contribution. 12 years ago