Commit Graph

27 Commits (621f18d696c5139edaee232dfc844972b480a758)

Author SHA1 Message Date
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>
10 years ago
Roger A. Light 80300f8fa1 [468987] Free unused topic tree elements.
Fix in 1.4.3 was incomplete.

Thanks to Guido Hinderberger et al.
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
Roger A. Light 85a294922e Protect stored messages from removal when queing. 11 years ago
Roger A. Light 2ce4d94282 Fix dereferencing of msg store items. 11 years ago
Roger A. Light 1e64bb171a More memory efficient message store than with hashes.
Also frees messages from the message store after removing...
11 years ago
Roger A. Light d30d711c3b Improve struct layouts for memory usage. 11 years ago
Roger A. Light ea8537c048 Remove unused messages from store immediately.
This removes the need for *store_clean*.
11 years ago
Roger A. Light 9b9f1c7613 Remove unnecessary callocs. 11 years ago
Roger A. Light 36f88d902d Fix errors from big code import. 11 years ago
Roger A. Light 02be4965ea Don't rearrange leaves here until we are sure we have all the memory allocated. 11 years ago
Roger A. Light eb01459571 Protect against client->id NULL dereference. 11 years ago
Roger A. Light 065c6356d4 Don't derefence NULLs. 11 years ago
Roger A. Light 7746427b07 Record client subs correctly. 11 years ago
Roger A. Light d2dbe16d68 Client structs store sub information to make _subs_clean_session more efficient. 11 years ago
Roger A. Light 070d783c9f Merge 1.3.2-1.3.5 into 1.4. 11 years ago
Roger A. Light 4a19d9ae3a Fix possible memory leak when using a topic that has a leading slash.
Fixes bug #1360986.
11 years ago
Roger A. Light 84214bcd99 Simplify appending of topics when tokenising. Helps remove dead code. 11 years ago
Roger A. Light 2bf7a8fb13 Prevent NULL derefencing and accessing of freed memory. 11 years ago
Roger A. Light 3eead8c507 retained_ and subscription_count only used with sys tree. 11 years ago
Roger A. Light d75473ec63 Fix possible memory leaks.
Thanks to Johann Haarhoff.
11 years ago
Roger A. Light 77999c7fd0 Fix incorrect commit. 11 years ago
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.
11 years ago
Roger A. Light e4ddc31295 Fix for MQTT-3.8.4-3. 11 years ago
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.
12 years ago
Roger Light 0364bd1be7 Initial contribution. 12 years ago