Kai Buschulte
32588f45ab
Introduce subs_count for client subscriptions
...
This is the actual number of subscriptions.
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
3 years ago
Kai Buschulte
31cdd26230
Rename sub_count to subs_capacity
...
sub_count is not the actual number of subscriptions.
Renamed it to subs_capacity, as it keeps the value of allocated
mosquitto__client_sub elements stored in the subs member of the
mosquitto struct.
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
3 years ago
Kai Buschulte
9c5a5081df
Fix CMake build
...
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
3 years ago
Roger A. Light
c535efdfa9
Add Windows build workflow.
3 years ago
Roger A. Light
d6c1ea45bf
$SYS updates are now aligned to `sys_interval` seconds.
...
This means that if set to 10, for example, updates will be sent at times
matching x0 seconds. Previously update intervals were aligned to the
time the broker was started.
3 years ago
Felix Obenhuber
5437fb5aef
Add android logd logging support
...
Add log_dest android in order to forward logs into the Android logging
system (logd). Link liblog (included in each Android NDK) if building
for Android. Add configuration note about log_dest android to the
configuration template.
Signed-off-by: Felix Obenhuber <felix.obenhuber@esrlabs.com>
3 years ago
Norbert Heusser
f0300087f6
Added new test for broker missing config file and extend tests for config errors
...
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
3 years ago
Roger A. Light
59ec303372
Fix Coverity Scan 1499851
3 years ago
Roger A. Light
e66e321d7d
Improve PUID/PGID input checking.
...
Should fix Coverity Scan 149116
3 years ago
Roger A. Light
4596cef734
Ban file should be appended.
3 years ago
Roger A. Light
edfb2278f8
Fix CMake test build
3 years ago
Roger A. Light
c43099f98c
Fix Coverity Scan 1499822
3 years ago
Roger A. Light
6dc27d8214
Fix Coverity Scan 1499812, 1499810
3 years ago
Roger A. Light
7f0e5cd809
Tidy plugin directory
3 years ago
Roger A. Light
3df0179c01
Fix Coverity Scan 1499800
3 years ago
Roger A. Light
40220c74ef
Fix Coverity Scan 1499841
3 years ago
Roger A. Light
9aeb756dac
Fix Coverity Scan 1499842
3 years ago
Roger A. Light
07c7755f81
Fix Coverity Scan 1499806
3 years ago
Roger A. Light
ae14eb34e1
Fix Coverity Scan 1499817
3 years ago
Roger A. Light
10b9452c6c
Fix Coverity Scan 1499821
3 years ago
Roger A. Light
5b44035eba
Fix Coverity Scan 1499798, 1499803, 1499813.
3 years ago
Roger A. Light
3250d20fc8
Fix Coverity Scan 1499800
3 years ago
Roger A. Light
a000ca2b60
Fix test leak
3 years ago
Roger A. Light
403f6443be
Sqlite: Provide logs on restore errors
3 years ago
Roger A. Light
3544d935e0
Fix various Coverity Scan issues.
3 years ago
Roger A. Light
44cf973abb
Fix Coverity Scan 982726
3 years ago
Roger A. Light
27941ae9c2
Fix Coverity Scan 1499830
3 years ago
Roger A. Light
52da5c0b78
Fix Coverity Scan 1499829, double free.
3 years ago
Roger A. Light
899135b9af
Fix Coverity Scan 1499805, double free.
3 years ago
Roger A. Light
26282ef152
Add tests to coverity scan
3 years ago
Roger A. Light
6fd9c200ac
Fix coverity scan 1499796
3 years ago
Roger A. Light
9bb389dda1
Avoid compile error.
...
"a label can only be part of a statement and a declaration is not a
statement"
3 years ago
Roger A. Light
87cb3250cd
Set C99 as the explicit, not implicit, build standard.
3 years ago
Roger A. Light
2a95ec73ba
Fix Coverity Scan 1491166.
3 years ago
Roger A. Light
f0d7c27a67
Add tests to coverity scan
3 years ago
Roger A. Light
1a5cd9e849
Fix Coverity Scan 1499794.
3 years ago
Roger A. Light
9c2d0ce401
Fix copy paste error.
...
Coverity Scan 1499794.
3 years ago
Roger A. Light
c5c7dd3f57
Fix payload check
3 years ago
Roger A. Light
65153eba45
Example plugin that bans based on payload
3 years ago
Roger A. Light
a872c0466f
Fix leak
3 years ago
Roger A. Light
9d3f19b3bb
Test tidy
3 years ago
Roger A. Light
74ef9eec4c
Don't use deprecated wrap_socket.
3 years ago
Roger A. Light
ad8a841a4a
More robust SSL test.
3 years ago
Roger A. Light
7fb760ef27
Split config parse tests by tls/not.
3 years ago
Roger A. Light
d8bdc17a39
Fix slightly flaky test.
3 years ago
Roger A. Light
f2524ee413
Mark unused parameters
3 years ago
Roger A. Light
01dfb6fea1
Persist: Improve tests
3 years ago
Roger A. Light
e16e66b313
Fix missing persist parts
3 years ago
Roger A. Light
adf985bff8
Persistence: Store cmsg_id and sub id for client_msgs.
3 years ago
Roger A. Light
cfd4aa1c95
sqlite: Consistent naming
3 years ago