Commit Graph

890 Commits

Author SHA1 Message Date
Roger A. Light
3c45da8d7e Fix inconsistent client disconnect log format 2026-02-03 00:19:59 +00:00
Roger A. Light
a71685e8ff Fix file test for CI 2026-02-02 18:38:58 +00:00
Roger A. Light
16f41e61fc Add MOSQUITTO_UNSAFE_ALLOW_SYMLINKS env var
Setting this environment variable allows sensitive files to be read
through symlinks.

Closes #3461. Thanks to Jeff Cutsinger
2026-02-02 16:33:37 +00:00
Roger A. Light
233999cc0a Fix callback handling when using plugin_load. 2026-01-29 14:10:10 +00:00
Roger A. Light
79c6cb997b Fix test memory leak 2026-01-27 17:10:53 +00:00
Roger A. Light
3dd726959e Enable and fix tests on Mac 2026-01-27 10:02:08 +00:00
Roger A. Light
fea5bb4c5e Mac: Fix network loss occasionally being BrokenPipeError 2026-01-27 10:02:07 +00:00
Roger A. Light
e8380fd83e cmake: Attempt to fall back to readline if editline not available 2026-01-25 01:22:48 +00:00
Roger A. Light
0d0ac52fb8 mac: Fix mock compilation under cmake 2026-01-25 00:47:08 +00:00
Roger A. Light
f7c389c2d7 Fix test compile on mac 2026-01-22 00:30:58 +00:00
Roger A. Light
132fec1a4a Cmake: Fix openssl linking of tests 2026-01-21 16:58:57 +00:00
Roger A. Light
758bf6a127 Minor compiler warning fixes 2026-01-21 16:58:42 +00:00
Roger A. Light
79a13f6e10 Fix --insecure and bridge_insecure
Closes #3449. Thanks to Christoph Krey
2026-01-19 11:45:55 +00:00
Roger A. Light
657b8bc123 Fix version tests for release candidates 2026-01-18 23:47:10 +00:00
Roger A. Light
d346179137 Formatting 2026-01-18 22:45:10 +00:00
Roger A. Light
81a9385877 Merge branch 'fixes' into develop 2026-01-15 00:49:53 +00:00
Roger A. Light
8eeaa48e74 Fix connect refused in 09-plugin-delayed-auth test 2026-01-14 13:00:50 +00:00
Roger A. Light
30d4a5d34a Time out tests after 180s in ptest mode 2026-01-14 11:41:35 +00:00
Roger A. Light
9f576d2a71 Set max_packet_size to 2,000,000 bytes by default 2026-01-13 12:15:46 +00:00
Roger A. Light
f9221e30e3 Test: Fix incorrect property identifier 2026-01-13 12:15:46 +00:00
Roger A. Light
c5d37076fa Add timeout on ptest runs 2026-01-13 00:19:12 +00:00
Roger A. Light
8ad81a9917 MOSQ_EVT_ACL_CHECK event is now passed message properties where possible.
Closes #3176.
2026-01-12 23:51:02 +00:00
Roger A. Light
7a6af8e405 Persist test: Silence warning logs 2026-01-06 13:38:51 +00:00
Roger A. Light
7e5b7d02ca Persist: Use meaningful return codes 2026-01-06 13:37:12 +00:00
Roger A. Light
34ef74e7a4 Fix corrupt persistence restore case 2026-01-06 13:37:12 +00:00
Roger A. Light
cd307c3d52 Remove redundant test 2025-12-04 11:00:25 +00:00
Norbert Heusser
68d933a22f Fixed forwarding of subscription identifier to client message peristence callback
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
2025-12-02 16:11:17 +00:00
Roger A. Light
d8aee44746 Make auth delayed test more robust 2025-12-02 12:24:24 +00:00
Roger A. Light
b2aa092267 libcommon base64 unit tests 2025-12-01 00:05:36 +00:00
Roger A. Light
5792e0fe7e Add broker/client per packet type tests for overlong remaining length 2025-11-24 17:23:23 +00:00
Roger A. Light
378bbb7f98 Speed up some bridge tests 2025-11-19 00:09:00 +00:00
Roger A. Light
27820a58c6 Add upper limit to auto_id_prefix
This prevents uint16_t overflow later
2025-11-01 08:32:43 +00:00
Roger A. Light
12d864d3ea Fix fuzzing corpora generation 2025-10-21 22:52:16 +01:00
Roger A. Light
a566e1a3ec Increase test delay 2025-10-14 12:23:43 +01:00
Roger A. Light
ed88d3a480 Control topic: Return error when request sent to missing endpoint 2025-10-14 10:43:31 +01:00
Roger A. Light
711f647921 Add ACL support to http-api 2025-10-14 09:22:47 +01:00
Roger A. Light
dd83c8e97a Add authentication to http-api 2025-10-14 09:04:29 +01:00
Roger A. Light
2c4967a2a4 Test: Fix x.to_bytes() on CI 2025-10-10 23:17:29 +01:00
Roger A. Light
7fa7c99a0c Valgrind test suppression 2025-10-10 23:09:02 +01:00
Roger A. Light
602cd2be42 FIx for #3388
Thanks to nickajacks1
2025-10-10 23:09:02 +01:00
Roger A. Light
aa952a4ef6 Msg sequence test: Readability improvements
Each payload has changed from being a string of hex bytes to being a
string of encoded values that better show their meaning. For example,
UTF-8 strings are now shown as strings, and different integer types are
denoted.
2025-09-30 08:10:54 +01:00
Roger A. Light
5002faadb0 Fix typo 2025-09-17 18:08:09 +01:00
Roger A. Light
4c24b92e34 Formatting: Apply to C++ files 2025-09-17 12:48:02 +01:00
Roger A. Light
460995652e Formatting: Apply to C headers 2025-09-17 12:48:02 +01:00
Roger A. Light
7ea73f6d60 Formatting: Forbid single line if statements
These hide cases from coverage checks
2025-09-17 12:48:02 +01:00
Roger A. Light
48b76e49f8 Formatting: Misc automatic formatting changes 2025-09-17 12:03:06 +01:00
Roger A. Light
883fdb2ad2 Formatting: Double indent continuation 2025-09-17 12:03:06 +01:00
Roger A. Light
6e7ddef145 Formatting: Always include comma for last enum
Plus some spacing
2025-09-17 12:03:06 +01:00
Roger A. Light
d743413ac3 Formatting: Spacing consistency 2025-09-17 12:03:06 +01:00
Roger A. Light
67ad22df0a Formatting: Double space before functions. 2025-09-17 12:03:03 +01:00