Commit Graph

482 Commits (3aa698d02354333673bdd5dd9b3bcb4515f4932b)
 

Author SHA1 Message Date
Roger A. Light 3aa698d023 Add -U to mosquitto_sub for unsubscribing from topics. 10 years ago
Roger A. Light 559e2438cb Revert "Add support for sending direct messages to clients."
This reverts commit 8f54cde293.
10 years ago
Roger A. Light 8f54cde293 Add support for sending direct messages to clients.
This works through $CLIENT/direct/<client id>, using the
allow_direct_messages option.
10 years ago
Roger A. Light 4b9b792d16 Update all mqtt 3.1 references to 3.1.1 where appropriate. 10 years ago
Roger A. Light 4afe1a1502 Swap plugin+built in order. 10 years ago
Roger A. Light f5f5d3885d Fix incorrect defines. 10 years ago
Roger A. Light 2078b6381a Log CONNACK result for clients. 10 years ago
Roger A. Light f5f1a64d40 Consistent installer naming. 10 years ago
Roger A. Light 8ecb9291ab Disable support for DNS SRV by default. 10 years ago
Roger A. Light 0d449d31b8 strlen(x) == 0 -> STREMPTY(x) 10 years ago
Roger A. Light b4fbe904d4 Remove more unnecessary "if(x) mosquitto__free(x)" checks. 10 years ago
Roger A. Light 436d3fac19 Merge branch 'fixes' into develop
Conflicts:
	CMakeLists.txt
	ChangeLog.txt
	config.mk
	installer/mosquitto.nsi
	installer/mosquitto64.nsi
	lib/mosquitto.c
	lib/mosquitto.h
	src/loop.c
10 years ago
Roger A. Light ed97a3b2f1 Fix potential memory leaks. 10 years ago
Roger A. Light 9fb288d283 Fix malloc/_mosquitto_free mismatch. 10 years ago
Roger A. Light acb95f2f2e Fix potential memory leak in mosquitto_sub_topic_tokenise() 10 years ago
Roger A. Light 66924cd832 Windows 64 bit build and installer. 10 years ago
Roger A. Light 9a2eb2038f Drop Windows XP support, misc fixes on Windows. 10 years ago
Roger A. Light 720d52d86e Bump version number. 10 years ago
Roger A. Light 011de7ed19 Fix excessive calls to message retry check. 10 years ago
Roger A. Light 17e942e9b5 [475707] Fix free related crash on openwrt.
Thanks to Karl Palsson.

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=475707
10 years ago
Roger A. Light 2597da17c2 [475807] Fix cross compiling of websockets.
Thanks to Tyler Brandon.

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=475807
10 years ago
Roger A. Light 0c0961f6a4 [477571] Fix socket leak with bridges.
Don't leak sockets when an outgoing bridge connection with multiple
addresses is rejected.

Thanks to Johnny Egeland.

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=477571
10 years ago
Roger A. Light 73f755acc4 New openssl version. 10 years ago
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
10 years ago
Roger A. Light 307044eda9 misc code updates. 10 years ago
Roger A. Light d71db835eb Bump version number. 10 years ago
Roger A. Light 201bb1a04a Fix potential crash on libwebsockets error. 10 years ago
Roger A. Light 3f86d316d8 Allow mosquitto__free(NULL).
Remove all unnecessary "if(X)" before a call to mosquitto__free.
10 years ago
Roger A. Light 2172ffb56c [470253] Fix potential memory leaks.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=470253
Also-by: Wun Yu <wuyun1984_1984@163.com>
10 years ago
Roger A. Light ab7f212b7e [468987] Free unused topic elements.
Reduces memory usage and CPU usage.

Thanks to Guido Hinderberger, Martin Rauscher and Michael Hekel.

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=468987
10 years ago
Anmol Sarma 13d869b8df Avoid calls to strlen() when checking for empty strings.
Change-Id: I3de322006623483cbf20218da071a9da5d7b2e2b
Signed-off-by: Anmol Sarma <me@anmolsarma.in>
10 years ago
Roger Light b4f7819c94 Merge "Remove superfluous NULL checks before free()" into fixes 10 years ago
Roger A. Light 1254fe93e0 [474935] Increment inflight message count correctly.
Don't duplicate the increment when queueing.

Thanks to Joe McIlvain.

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=474935
10 years ago
Roger A. Light e49e398eb3 Fix handling of outgoing QoS>0 messages for bridges.
Fix handling of outgoing QoS>0 messages for bridges that could not be
sent because the bridge connection was down.
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 6f88ba3225 Use mosquitto_strerror() instead of displaying the rc. 10 years ago
Anmol Sarma 343e833fd9 Remove superfluous branch.
Signed-off-by: Anmol Sarma <me@anmolsarma.in>
10 years ago
Roger A. Light 4c147309a4 Minimum supported libwebsockets version is now 1.3. 10 years ago
Roger A. Light 300034f868 Initialise all plugins, not just the first. 10 years ago
Roger A. Light 9c711893a8 Fix path 10 years ago
Roger A. Light 92e3f8ce2f Get nsis from chocolatey. 10 years ago
Roger A. Light b87722556c Remove duplicate code. 10 years ago
Roger A. Light e773ea1bee [464543] Run default checks after plugins. 10 years ago
Roger A. Light 5c642c9cfd [464543] Add defer support for plugins.
Partial fix for 464543.
10 years ago
Roger A. Light a542aae2f7 SF mirror changed. 10 years ago
Roger A. Light a4dad02064 [470246] Change sys tree print output on USR2.
Thanks to Yun Wu.

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=470246
10 years ago
Roger A. Light e0037b348f [465438] Fix incorrect behaviour for autosave_interval.
Thanks to Jaime Yu.

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=465438
10 years ago
Roger A. Light a330c5ca17 [471334] Fix incorrect loop timeout with keepalive=0.
Fix incorrect loop timeout being chosen when using the threaded
interface and keepalive = 0.

Thanks to Gianfranco Costamagna.

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=471334
10 years ago
Roger A. Light b2496f7bdc Update appveyor openssl version. 10 years ago
Roger A. Light 6f193de3a5 [470258] Don't make unnecessary copies of payload in db__messages_store.
Along with the previous commit this closes #470258.

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=470258
10 years ago