Roger A. Light
|
9ddec11f89
|
Fix Coverity issue 1362805.
|
2016-09-15 22:22:28 +01:00 |
|
Roger A. Light
|
883af8af53
|
Better subtree searching.
|
2016-07-19 15:05:53 +01:00 |
|
Roger A. Light
|
017db6706f
|
Rename mosquitto_broker.h -> mosquitto_broker_internal.h
|
2016-07-08 10:10:04 +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
|
57da586703
|
Fix saving of persistence messages that start with a '/'.
Closes #151. Thanks to Andrew Chambers.
Signed-off-by: Roger A. Light <roger@atchoo.org>
|
2016-05-14 22:39:14 +01:00 |
|
Roger A. Light
|
fca9ac84f7
|
Merge fixes into develop.
|
2016-01-06 21:10:34 +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
|
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
|
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 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
|
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 |
|
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
|
2015-06-29 21:24:16 +01:00 |
|
Roger A. Light
|
4195fde70b
|
Last raft of renames for the moment.
|
2015-05-18 09:29:22 +01:00 |
|
Roger A. Light
|
21946ace6c
|
mosquitto__log_printf -> log__printf
|
2015-05-18 08:53:21 +01:00 |
|
Roger A. Light
|
94ef6ec7bb
|
Big set of function renames.
|
2015-05-16 15:24:24 +01:00 |
|
Roger A. Light
|
b598aec385
|
Sys -> user includes.
|
2015-04-29 21:37:47 +01:00 |
|
Roger A. Light
|
11756d24c8
|
Change internal funcs _foo_bar() to foo__bar().
|
2015-04-19 22:10:59 +01:00 |
|
Roger A. Light
|
90dc6d8c4c
|
Don't use uhpa for whole topics, unlikely to be of benefit.
|
2015-04-11 21:17:16 +01:00 |
|
Roger A. Light
|
2da74ad043
|
Use uhpa for topics.
|
2015-04-04 21:15:27 +01:00 |
|
Roger A. Light
|
85a294922e
|
Protect stored messages from removal when queing.
|
2014-11-20 21:13:21 +00:00 |
|
Roger A. Light
|
2ce4d94282
|
Fix dereferencing of msg store items.
|
2014-11-19 20:59:10 +00:00 |
|
Roger A. Light
|
1e64bb171a
|
More memory efficient message store than with hashes.
Also frees messages from the message store after removing...
|
2014-11-18 19:12:08 +00:00 |
|
Roger A. Light
|
d30d711c3b
|
Improve struct layouts for memory usage.
|
2014-11-18 07:42:49 +00:00 |
|
Roger A. Light
|
ea8537c048
|
Remove unused messages from store immediately.
This removes the need for *store_clean*.
|
2014-11-17 23:46:02 +00:00 |
|
Roger A. Light
|
9b9f1c7613
|
Remove unnecessary callocs.
|
2014-11-17 22:00:00 +00:00 |
|
Roger A. Light
|
36f88d902d
|
Fix errors from big code import.
|
2014-11-12 20:47:16 +00:00 |
|
Roger A. Light
|
02be4965ea
|
Don't rearrange leaves here until we are sure we have all the memory allocated.
|
2014-10-16 23:18:12 +01:00 |
|
Roger A. Light
|
eb01459571
|
Protect against client->id NULL dereference.
|
2014-10-16 23:06:47 +01:00 |
|
Roger A. Light
|
065c6356d4
|
Don't derefence NULLs.
|
2014-10-16 23:04:26 +01:00 |
|
Roger A. Light
|
7746427b07
|
Record client subs correctly.
|
2014-10-16 22:35:05 +01:00 |
|
Roger A. Light
|
d2dbe16d68
|
Client structs store sub information to make _subs_clean_session more efficient.
|
2014-10-09 23:28:16 +01:00 |
|
Roger A. Light
|
070d783c9f
|
Merge 1.3.2-1.3.5 into 1.4.
|
2014-10-12 11:17:13 +01:00 |
|
Roger A. Light
|
4a19d9ae3a
|
Fix possible memory leak when using a topic that has a leading slash.
Fixes bug #1360986.
|
2014-10-05 21:24:08 +01:00 |
|
Roger A. Light
|
84214bcd99
|
Simplify appending of topics when tokenising. Helps remove dead code.
|
2014-09-23 00:42:25 +01:00 |
|
Roger A. Light
|
2bf7a8fb13
|
Prevent NULL derefencing and accessing of freed memory.
|
2014-09-17 21:53:39 +01:00 |
|
Roger A. Light
|
3eead8c507
|
retained_ and subscription_count only used with sys tree.
|
2014-09-16 23:48:26 +01:00 |
|
Roger A. Light
|
d75473ec63
|
Fix possible memory leaks.
Thanks to Johann Haarhoff.
|
2014-09-06 21:51:59 +01:00 |
|
Roger A. Light
|
77999c7fd0
|
Fix incorrect commit.
|
2014-07-13 21:48:33 +01:00 |
|
Roger A. Light
|
e5aa843ec7
|
Don't allow access to clients when authenticating if a security plugin returns an application error. Fixes bug #1340782.
Thanks to Charlie Davis.
|
2014-07-13 21:20:18 +01:00 |
|
Roger A. Light
|
e4ddc31295
|
Fix for MQTT-3.8.4-3.
|
2014-05-31 23:26:46 +01:00 |
|
Roger Light
|
e5cc63a89b
|
Fix subscriptions sometimes being deleted.
Fix subscriptions being deleted when clients subscribed to a topic
beginning with a $ but that is not $SYS.
Thanks to David Woodward.
|
2014-05-08 23:05:34 +01:00 |
|
Roger Light
|
0364bd1be7
|
Initial contribution.
|
2014-05-07 23:27:00 +01:00 |
|