Commit Graph

3473 Commits (54365ec53bc1ae1ee6b3e77f792d47790b58250d)
 

Author SHA1 Message Date
Roger A. Light 54365ec53b Dynsec: Fix improbably out of memory case 3 years ago
Roger A. Light 7ebe148065 Dynsec: Simplify config load 3 years ago
Roger A. Light 26de915f53 Use MAKE macro, no need to pass MAKEFLAGS. 3 years ago
Roger A. Light 88b20c9113 Fix missing make targets 3 years ago
Roger A. Light 88daf548d5 Add missing headers for some build options 3 years ago
Roger A. Light 67d0792fd6 Remove duplicate code. 3 years ago
Roger A. Light 3cbcc2e2b2 Fix Coverity Scan 1500471 and 1500472. 3 years ago
Roger A. Light fa08918b48 Don't recompile objects for tests (in Makefile tests) 3 years ago
Roger A. Light 27c99bc7e7 Add db_dump test to verify current broker output. 3 years ago
Roger A. Light 6b1b0bf7bc Start of db_dump tests. 3 years ago
Roger A. Light a111668629 Add test deps 3 years ago
Roger A. Light e49f741cd2 Individual basic WS tests for clients 3 years ago
Roger A. Light 514f8dc89a Extend protocol edge-case test suite. 3 years ago
Roger A. Light aa69b65d1b Fix build for WITH_ADNS=yes 3 years ago
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