Commit Graph
3420 Commits
Author SHA1 Message Date
Roger A. Light 403f6443be Sqlite: Provide logs on restore errors 2022-10-16 21:23:15 +01:00
Roger A. Light 3544d935e0 Fix various Coverity Scan issues. 2022-10-16 15:13:03 +01:00
Roger A. Light 44cf973abb Fix Coverity Scan 982726 2022-10-16 14:50:43 +01:00
Roger A. Light 27941ae9c2 Fix Coverity Scan 1499830 2022-10-16 14:48:26 +01:00
Roger A. Light 52da5c0b78 Fix Coverity Scan 1499829, double free. 2022-10-16 14:47:16 +01:00
Roger A. Light 899135b9af Fix Coverity Scan 1499805, double free. 2022-10-16 14:46:28 +01:00
Roger A. Light 26282ef152 Add tests to coverity scan 2022-10-16 11:04:35 +01:00
Roger A. Light 6fd9c200ac Fix coverity scan 1499796 2022-10-16 08:41:30 +01:00
Roger A. Light 9bb389dda1 Avoid compile error.
"a label can only be part of a statement and a declaration is not a
statement"
2022-10-16 08:13:46 +01:00
Roger A. Light 87cb3250cd Set C99 as the explicit, not implicit, build standard. 2022-10-16 08:12:26 +01:00
Roger A. Light 2a95ec73ba Fix Coverity Scan 1491166. 2022-10-16 07:59:54 +01:00
Roger A. Light f0d7c27a67 Add tests to coverity scan 2022-10-16 07:59:44 +01:00
Roger A. Light 1a5cd9e849 Fix Coverity Scan 1499794. 2022-10-16 07:39:50 +01:00
Roger A. Light 9c2d0ce401 Fix copy paste error.
Coverity Scan 1499794.
2022-10-16 07:29:50 +01:00
Roger A. Light c5c7dd3f57 Fix payload check 2022-10-15 21:55:49 +01:00
Roger A. Light 65153eba45 Example plugin that bans based on payload 2022-10-15 20:41:51 +01:00
Roger A. Light a872c0466f Fix leak 2022-10-13 20:41:01 +01:00
Roger A. Light 9d3f19b3bb Test tidy 2022-10-13 11:47:36 +01:00
Roger A. Light 74ef9eec4c Don't use deprecated wrap_socket. 2022-10-13 11:47:09 +01:00
Roger A. Light ad8a841a4a More robust SSL test. 2022-10-13 11:46:55 +01:00
Roger A. Light 7fb760ef27 Split config parse tests by tls/not. 2022-10-13 11:45:49 +01:00
Roger A. Light d8bdc17a39 Fix slightly flaky test. 2022-10-13 11:09:58 +01:00
Roger A. Light f2524ee413 Mark unused parameters 2022-10-13 10:29:01 +01:00
Roger A. Light 01dfb6fea1 Persist: Improve tests 2022-10-11 21:52:43 +01:00
Roger A. Light e16e66b313 Fix missing persist parts 2022-10-11 21:52:21 +01:00
Roger A. Light adf985bff8 Persistence: Store cmsg_id and sub id for client_msgs. 2022-10-11 21:51:43 +01:00
Roger A. Light cfd4aa1c95 sqlite: Consistent naming 2022-10-11 21:50:03 +01:00
Roger A. Light 2bfb0dc022 sqlite: client_msgs are only ever all cleared 2022-10-11 21:49:33 +01:00
Roger A. Light bdf8493e81 sqlite: base_msg can never have these properties 2022-10-11 21:48:51 +01:00
Roger Light 1f559f1a71 Merge pull request #2624 from buschulte/fix-some-compiler-warinngs
Add missing callback set calls for MQTTv5 in C++ lib wrapper
2022-10-10 11:22:53 +01:00
Roger A. Light 16feb14a57 Persistence interface updates and sqlite plugin fixes
The MOSQ_EVT_PERSIST_CLIENT_MSG_CLEAR event has been removed, due to
never being called. It is the responsibility of the plugin to remove
client subscriptions and client messages when the client is removed.

Lots of persist test improvements and additions - mostly checking item
counts.
2022-10-09 22:17:47 +01:00
Roger A. Light 428d39b22b Ensure restored base msgs are marked as stored. 2022-10-09 22:12:37 +01:00
Roger A. Light d4960d0ead sqlite: Save/restore binary properties. 2022-10-09 22:02:59 +01:00
Roger A. Light dd30dc8bd1 Fix typo 2022-10-09 11:10:30 +01:00
Roger A. Light 40636fdce0 Simplify sub client json printing. 2022-10-09 11:02:38 +01:00
Roger A. Light ef078b31b5 Make persistence tests easier to use for other plugins. 2022-10-02 09:43:10 +01:00
Roger A. Light 86b314c624 Remove unused defs 2022-09-30 19:26:54 +01:00
Roger A. Light afc575aa1c Simplify function calls. 2022-09-29 15:08:10 +01:00
Roger A. Light b11b0b206c Function naming consistency 2022-09-08 23:49:46 +01:00
Roger A. Light 3102c6ac64 Remove unused member 2022-09-08 23:43:41 +01:00
Roger A. Light 33499efea1 Fix Coverity 1491741 and 1491742. 2022-08-31 15:24:02 +01:00
Roger A. Light 52599ee78b Fix Coverity 1486951. 2022-08-31 14:34:11 +01:00
Kai Buschulte ec8566ba0d Fix conversion warnings
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
2022-08-29 11:23:21 +00:00
Kai Buschulte c646172c05 set mqtt v5 callbacks in C++ wrapper of lib
This caused "unused function" warnings

Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
2022-08-29 11:21:50 +00:00
Roger A. Light 1d230bd255 dynsec: Fix listClients/getClient crashing if an anon user present
This only affects the unreleased `develop` branch.
2022-08-22 10:50:10 +01:00
Roger A. Light 4997b40259 Report persistence stats when starting. 2022-08-20 22:51:25 +01:00
Roger A. Light 7ec8417e54 Client tests: --version dummy, and float printing for sub. 2022-08-19 09:32:40 +01:00
Roger A. Light 7370a7d028 rr client does support < v5.0 2022-08-19 00:34:53 +01:00
Roger A. Light 3b56a89b0a Improved client tests 2022-08-19 00:15:28 +01:00
Roger A. Light ca618c6f96 Fix db_dump coverage build 2022-08-18 23:54:47 +01:00