Commit Graph

3459 Commits (b8b1674183ae4a451677cf0320222c1c53dc7f06)
 

Author SHA1 Message Date
Roger A. Light b8b1674183 Tidy unused defs. 3 years ago
Roger A. Light 1382fded00 Compile picohttpparser only once 3 years ago
Roger A. Light dfa9a22d64 Fix Windows workflow name and update installer 3 years ago
Roger A. Light 8d38c91f4c Revert invalid cast change. 3 years ago
Roger A. Light 95c0a53f2e Merge branch 'buschulte-fix-compiler-warnings' into develop 3 years ago
Roger A. Light a2e5bb5294 Merge branch 'fix-compiler-warnings' of https://github.com/buschulte/mosquitto into buschulte-fix-compiler-warnings 3 years ago
Roger A. Light 65a6191202 Set mosquitto_read_*() values to NULL when empty
`mosquitto_property_read_binary/string/string_pair` will now set the
name/value parameter to NULL if the binary/string is empty. This aligns the
behaviour with other property functions.

Closes #2648. Thanks to Alexander Fiebig.
3 years ago
Roger Light 8949ac45ca
Merge pull request #2663 from NorbertHeusser/extend-broker-config-error-tests
Extend broker tests for config errors
3 years ago
Roger A. Light 826af31be7 Update changelog and man page. 3 years ago
Roger Light 13c27ccea0
Merge pull request #2665 from flxo/pr-android-log
Add android logd logging support
3 years ago
Roger A. Light 5ea98e78de Merge branch 'buschulte-fix-mosquitto-client-sub-count' into develop 3 years ago
Roger A. Light dcea1a9c89 Merge branch 'fix-mosquitto-client-sub-count' of https://github.com/buschulte/mosquitto into buschulte-fix-mosquitto-client-sub-count 3 years ago
Roger A. Light 0503d5d35c Fix windows build 3 years ago
Roger Light 6bc4b41888
Merge pull request #2675 from buschulte/fix-cmake-build
Fix CMake build
3 years ago
Roger A. Light 4fed95b572 Merge subleaf and client_sub structs to simplify use. 3 years ago
Kai Buschulte e6f5633ff6 Fix some compiler warnings
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
3 years ago
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