Roger A. Light
27c99bc7e7
Add db_dump test to verify current broker output.
2022-11-11 11:47:54 +00:00
Roger A. Light
6b1b0bf7bc
Start of db_dump tests.
2022-11-10 23:27:47 +00:00
Roger A. Light
a111668629
Add test deps
2022-11-10 15:44:18 +00:00
Roger A. Light
e49f741cd2
Individual basic WS tests for clients
2022-11-10 12:48:47 +00:00
Roger A. Light
514f8dc89a
Extend protocol edge-case test suite.
2022-11-09 17:36:39 +00:00
Roger A. Light
aa69b65d1b
Fix build for WITH_ADNS=yes
2022-11-08 17:32:32 +00:00
Roger A. Light
b8b1674183
Tidy unused defs.
2022-11-08 17:23:46 +00:00
Roger A. Light
1382fded00
Compile picohttpparser only once
2022-11-03 22:39:39 +00:00
Roger A. Light
dfa9a22d64
Fix Windows workflow name and update installer
2022-11-03 22:25:53 +00:00
Roger A. Light
8d38c91f4c
Revert invalid cast change.
2022-11-03 21:36:07 +00:00
Roger A. Light
95c0a53f2e
Merge branch 'buschulte-fix-compiler-warnings' into develop
2022-11-03 21:34:59 +00:00
Roger A. Light
a2e5bb5294
Merge branch 'fix-compiler-warnings' of https://github.com/buschulte/mosquitto into buschulte-fix-compiler-warnings
2022-11-03 21:33:40 +00:00
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.
2022-11-03 18:31:19 +00:00
Roger Light
8949ac45ca
Merge pull request #2663 from NorbertHeusser/extend-broker-config-error-tests
...
Extend broker tests for config errors
2022-11-03 17:10:48 +00:00
Roger A. Light
826af31be7
Update changelog and man page.
2022-11-03 17:02:22 +00:00
Roger Light
13c27ccea0
Merge pull request #2665 from flxo/pr-android-log
...
Add android logd logging support
2022-11-03 16:58:53 +00:00
Roger A. Light
5ea98e78de
Merge branch 'buschulte-fix-mosquitto-client-sub-count' into develop
2022-11-03 16:32:15 +00:00
Roger A. Light
dcea1a9c89
Merge branch 'fix-mosquitto-client-sub-count' of https://github.com/buschulte/mosquitto into buschulte-fix-mosquitto-client-sub-count
2022-11-03 16:31:53 +00:00
Roger A. Light
0503d5d35c
Fix windows build
2022-11-03 16:20:30 +00:00
Roger Light
6bc4b41888
Merge pull request #2675 from buschulte/fix-cmake-build
...
Fix CMake build
2022-11-03 16:12:01 +00:00
Roger A. Light
4fed95b572
Merge subleaf and client_sub structs to simplify use.
2022-11-03 15:47:24 +00:00
Kai Buschulte
e6f5633ff6
Fix some compiler warnings
...
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
2022-11-03 10:55:37 +01:00
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>
2022-11-03 09:37:10 +01:00
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>
2022-11-03 09:37:10 +01:00
Kai Buschulte
9c5a5081df
Fix CMake build
...
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
2022-11-03 09:20:29 +01:00
Roger A. Light
c535efdfa9
Add Windows build workflow.
2022-11-02 14:58:32 +00:00
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.
2022-11-01 15:08:30 +00:00
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>
2022-10-21 10:41:09 +02:00
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>
2022-10-20 14:06:01 +00:00
Roger A. Light
59ec303372
Fix Coverity Scan 1499851
2022-10-17 11:18:07 +01:00
Roger A. Light
e66e321d7d
Improve PUID/PGID input checking.
...
Should fix Coverity Scan 149116
2022-10-17 10:30:21 +01:00
Roger A. Light
4596cef734
Ban file should be appended.
2022-10-17 10:03:06 +01:00
Roger A. Light
edfb2278f8
Fix CMake test build
2022-10-17 07:43:41 +01:00
Roger A. Light
c43099f98c
Fix Coverity Scan 1499822
2022-10-17 07:33:17 +01:00
Roger A. Light
6dc27d8214
Fix Coverity Scan 1499812, 1499810
2022-10-17 07:30:07 +01:00
Roger A. Light
7f0e5cd809
Tidy plugin directory
2022-10-17 07:25:37 +01:00
Roger A. Light
3df0179c01
Fix Coverity Scan 1499800
2022-10-17 07:14:42 +01:00
Roger A. Light
40220c74ef
Fix Coverity Scan 1499841
2022-10-16 23:28:37 +01:00
Roger A. Light
9aeb756dac
Fix Coverity Scan 1499842
2022-10-16 23:28:02 +01:00
Roger A. Light
07c7755f81
Fix Coverity Scan 1499806
2022-10-16 23:24:52 +01:00
Roger A. Light
ae14eb34e1
Fix Coverity Scan 1499817
2022-10-16 23:23:43 +01:00
Roger A. Light
10b9452c6c
Fix Coverity Scan 1499821
2022-10-16 23:21:47 +01:00
Roger A. Light
5b44035eba
Fix Coverity Scan 1499798, 1499803, 1499813.
2022-10-16 21:44:13 +01:00
Roger A. Light
3250d20fc8
Fix Coverity Scan 1499800
2022-10-16 21:40:19 +01:00
Roger A. Light
a000ca2b60
Fix test leak
2022-10-16 21:24:20 +01:00
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