Roger A. Light
148df82144
[484693] Fix _mosquitto_socketpair() on Windows.
...
Thanks to Steve Woods and Roman Bogus.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=484693
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=479143
2015-12-18 22:09:36 +00:00
Roger A. Light
559e2438cb
Revert "Add support for sending direct messages to clients."
...
This reverts commit 8f54cde293
.
2015-11-18 12:27:23 +00:00
Roger A. Light
f58f8aac0f
Document updates.
2015-11-16 16:47:12 +00:00
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.
2015-11-13 21:01:56 +00:00
Roger A. Light
cc029829c3
Merge branch 'fixes'
2015-11-08 21:25:09 +00:00
Roger A. Light
3cab5e2e69
Bump version number.
2015-11-08 21:25:04 +00:00
Roger A. Light
80300f8fa1
[468987] Free unused topic tree elements.
...
Fix in 1.4.3 was incomplete.
Thanks to Guido Hinderberger et al.
2015-11-08 20:23:07 +00:00
Roger A. Light
6531a0f49d
Contributing note.
2015-11-01 16:39:40 +00:00
Roger A. Light
4b9b792d16
Update all mqtt 3.1 references to 3.1.1 where appropriate.
2015-10-24 21:50:19 +01:00
Roger A. Light
422a156e98
Revert man page to html rather than php.
2015-10-15 16:13:44 +01:00
Roger A. Light
26eac3c1ca
Fix possible memory leak with bridges and SSL.
...
Fix possible memory leak if bridge using SSL attempts to connect to a
host that is not up.
Thanks to Ed Morris.
2015-10-12 14:48:52 +01:00
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
2015-10-11 22:55:54 +01:00
Roger A. Light
4afe1a1502
Swap plugin+built in order.
2015-10-02 21:44:39 +01:00
Roger A. Light
f5f5d3885d
Fix incorrect defines.
2015-09-29 12:34:56 +01:00
Roger A. Light
2078b6381a
Log CONNACK result for clients.
2015-09-29 12:33:51 +01:00
Simon Wunderlich
c02cdbefdc
mosquitto-lib: close socketpair on (re)connect
...
If the socket pair is still opened on reconnect, close it before
creating it again (just like the state variables). Otherwise, these
sockets are leaked on multiple mosquitto_connect() calls.
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
2015-09-22 17:10:26 +01:00
Roger A. Light
f5f1a64d40
Consistent installer naming.
2015-09-22 15:29:56 +01:00
Roger A. Light
8ecb9291ab
Disable support for DNS SRV by default.
2015-09-22 15:28:28 +01:00
Roger A. Light
0d449d31b8
strlen(x) == 0 -> STREMPTY(x)
2015-09-22 14:47:12 +01:00
Roger A. Light
b4fbe904d4
Remove more unnecessary "if(x) mosquitto__free(x)" checks.
2015-09-22 14:42:56 +01:00
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
2015-09-22 14:18:12 +01:00
Roger A. Light
ed97a3b2f1
Fix potential memory leaks.
2015-09-22 14:08:10 +01:00
Roger A. Light
9fb288d283
Fix malloc/_mosquitto_free mismatch.
2015-09-22 14:04:47 +01:00
Roger A. Light
acb95f2f2e
Fix potential memory leak in mosquitto_sub_topic_tokenise()
2015-09-22 14:04:09 +01:00
Roger A. Light
66924cd832
Windows 64 bit build and installer.
2015-09-22 13:48:36 +01:00
Roger A. Light
9a2eb2038f
Drop Windows XP support, misc fixes on Windows.
2015-09-22 10:03:57 +01:00
Roger A. Light
5bedffbb8c
Merge branch 'fixes' (1.4.4)
2015-09-16 22:57:24 +01:00
Roger A. Light
720d52d86e
Bump version number.
2015-09-16 22:53:28 +01:00
Roger A. Light
011de7ed19
Fix excessive calls to message retry check.
2015-09-16 22:14:26 +01:00
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
2015-09-16 21:20:40 +01:00
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
2015-09-16 21:13:03 +01:00
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
2015-09-16 17:39:00 +01:00
Roger A. Light
73f755acc4
New openssl version.
2015-09-16 17:38:54 +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
Roger A. Light
307044eda9
misc code updates.
2015-08-26 20:59:19 +01:00
Roger A. Light
d71db835eb
Bump version number.
2015-08-18 23:38:02 +01:00
Roger A. Light
201bb1a04a
Fix potential crash on libwebsockets error.
2015-08-18 23:33:55 +01:00
Roger A. Light
3f86d316d8
Allow mosquitto__free(NULL).
...
Remove all unnecessary "if(X)" before a call to mosquitto__free.
2015-08-18 14:53:22 +01:00
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>
2015-08-17 22:10:26 +01:00
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
2015-08-17 21:25:30 +01:00
Anmol Sarma
13d869b8df
Avoid calls to strlen() when checking for empty strings.
...
Change-Id: I3de322006623483cbf20218da071a9da5d7b2e2b
Signed-off-by: Anmol Sarma <me@anmolsarma.in>
2015-08-17 16:00:16 -04:00
Roger Light
b4f7819c94
Merge "Remove superfluous NULL checks before free()" into fixes
2015-08-17 15:59:50 -04:00
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
2015-08-17 20:50:41 +01:00
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.
2015-08-17 20:50:41 +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
Anmol Sarma
343e833fd9
Remove superfluous branch.
...
Signed-off-by: Anmol Sarma <me@anmolsarma.in>
2015-08-10 09:33:05 -04:00
Roger A. Light
4c147309a4
Minimum supported libwebsockets version is now 1.3.
2015-07-08 09:07:48 +01:00
Roger A. Light
300034f868
Initialise all plugins, not just the first.
2015-07-02 10:26:57 +01:00
Roger A. Light
9c711893a8
Fix path
2015-07-01 15:21:31 +01:00