Roger A. Light
840453c14f
Remove -x from mosquitto_sub - this is provided by -F now.
2016-08-10 12:24:43 +01:00
Roger A. Light
8140ce1f24
Add -F to mosquitto_sub to allow users to choose the output format.
2016-08-10 12:24:43 +01:00
Roger A. Light
8378fe44cf
Update copyrights.
2016-07-08 09:42:24 +01:00
Roger A. Light
1c3988a397
Merge branch 'master' into develop
2016-06-21 23:33:58 +01:00
Roger A. Light
a8a5daf06b
Check client topic inputs for valid UTF-8.
2016-06-20 22:56:01 +01:00
Roger A. Light
99ea5cab7c
Default to using port 8883 when using TLS.
2016-05-16 21:56:15 +01:00
Roger A. Light
35c4d3d59a
Handle some unchecked malloc() calls. Closes #1 .
...
Thanks to Markus Elfring.
2016-03-13 19:07:28 +00:00
Roger A. Light
bd61d18e92
Small tidy up.
2016-03-12 21:43:29 +00:00
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>
2016-03-12 21:43:29 +00:00
Roger A. Light
1961404ec9
Add --retained-only to mosquitto_sub.
2016-02-02 20:57:37 +00:00
Roger A. Light
3aa698d023
Add -U to mosquitto_sub for unsubscribing from topics.
2015-12-29 20:15:00 +00:00
Roger A. Light
9a2eb2038f
Drop Windows XP support, misc fixes on Windows.
2015-09-22 10:03:57 +01:00
Roger Light
e2324ff9bb
Merge remote-tracking branch 'remotes/origin/master' into develop
...
Conflicts:
CMakeLists.txt
ChangeLog.txt
THANKS.txt
appveyor.yml
config.mk
installer/mosquitto-cygwin.nsi
installer/mosquitto.nsi
lib/messages_mosq.c
lib/messages_mosq.h
lib/mosquitto.c
lib/mosquitto.h
lib/net_mosq.c
lib/net_mosq.h
lib/send_client_mosq.c
lib/send_mosq.c
lib/socks_mosq.c
lib/will_mosq.c
src/bridge.c
src/conf.c
src/context.c
src/database.c
src/loop.c
src/mosquitto.c
src/mosquitto_broker.h
src/net.c
src/read_handle.c
src/read_handle_server.c
src/subs.c
2015-09-09 22:02:46 +01:00
Anmol Sarma
a354dd53ae
Remove superfluous NULL checks before free()
...
Change-Id: I39db613c8e75c1437b909de263df4f96a7f76880
Signed-off-by: Anmol Sarma <me@anmolsarma.in>
2015-08-17 20:34:24 +05:30
Roger A. Light
6f88ba3225
Use mosquitto_strerror() instead of displaying the rc.
2015-08-17 11:59:29 +01:00
Roger A. Light
c1974e5402
Report error string on connection failure rather than error code.
2015-06-23 22:59:03 +01:00
Roger A. Light
8de6b92e3c
Fix calls to mosquitto_connect*_async() not completing.
2015-04-29 10:13:55 +01:00
Roger A. Light
2e05e40350
[464458] mosquitto_sub: Add option to print the payload in hex.
...
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=464458
2015-04-17 22:01:50 +01:00
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
2015-01-30 22:23:51 +00:00
Roger A. Light
be6a6430dd
Fix change in macro name.
2015-01-27 17:09:47 +00:00
Roger A. Light
8a35c3cd0d
Add client support for MQTT v3.1.1.
2015-01-27 00:32:20 +00:00
Roger A. Light
d9e41fe065
Remove dead code.
2014-11-17 21:00:49 +00:00
Roger A. Light
41f5d1fd43
Fix parsing of malformed socks urls.
2014-11-17 20:18:53 +00:00
Roger A. Light
166bc2c481
Cleanup client memory on error.
2014-11-16 23:41:06 +00:00
Roger A. Light
36f88d902d
Fix errors from big code import.
2014-11-12 20:47:16 +00:00
Roger A. Light
0c3e4e50cc
Windows implementation of client config files.
2014-10-26 22:06:54 +00:00
Roger A. Light
42420cae46
Add experimental SOCKS5 support for the clients.
2014-09-30 00:56:57 +01:00
Roger A. Light
65a4b790f3
Check for invalid topics before connecting.
2014-09-10 16:09:15 +01:00
Roger A. Light
ae1477c08f
Windows fixes.
2014-07-22 10:28:55 +01:00
Roger A. Light
2db22f3abd
Merge 1.3.2 branch in 1.4 branch.
2014-05-26 13:21:20 +01:00
Roger A. Light
58204d984c
Fixes for WITH_TLS=no.
2014-05-25 23:41:17 +01:00
Roger A. Light
cb0e355d9e
Only provide srv capabilities ifdef WITH_SRV.
2014-05-19 14:23:38 +01:00
Roger A. Light
0bbdda2c4e
Allow comments in config files.
2014-05-25 11:07:01 +01:00
Roger A. Light
a285c6ce5c
Add -1 (oneshot) option to mosquitto_sub.
...
Thanks to JP Mens.
2014-05-25 00:49:08 +01:00
Roger A. Light
fe91e71399
Support client default config files on non Windows.
2014-05-25 00:26:52 +01:00
Roger A. Light
94ec27911b
Shared config parsing for client utils.
2014-05-24 23:12:17 +01:00