Commit graph

4725 commits

Author SHA1 Message Date
Roger A. Light
916afd6693 mosquitto_ctrl: Handle unavailable endpoint in shell 2025-10-15 17:15:04 +01:00
Roger A. Light
0ba2436589 Remove unused srand() etc. functions 2025-10-15 11:49:13 +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
4d296b2f78 Remove magic number 2025-10-13 23:17:22 +01:00
Roger A. Light
1bc14e6aa8 Support parsing future MQTT v5 properties with id value > 128 2025-10-13 22:23:12 +01:00
Roger A. Light
a15020311c Set verify hostname if tls_use_os_certs is true. 2025-10-13 22:02:50 +01:00
Roger A. Light
29b1aed759 Ensure http_dir always end in a directory separator 2025-10-13 21:38:52 +01:00
Roger A. Light
827c803cb8 Updated NOTICE.md 2025-10-11 23:41:44 +01:00
Roger A. Light
a0fa07f9ed Check return value of openssl ASN1_string_[get0_]data() functions for NULL.
This prevents a crash in case of incorrect certificate handling in openssl.

Closes #3390. Thanks to Qingpeng Du.
2025-10-11 22:43:09 +01:00
Roger A. Light
f3a9fbb78c Check *_get_ex_data() and *_set_ex_data() return values.
Closes #3389. Thanks to Qingpeng Du.
2025-10-11 22:43:09 +01:00
Roger A. Light
a8eaed2d62 Check return value of openssl ASN1_string_[get0_]data() functions for NULL.
This prevents a crash in case of incorrect certificate handling in openssl.

Closes #3390. Thanks to Qingpeng Du.
2025-10-11 22:16:41 +01:00
Roger A. Light
0e04dfc032 Check *_get_ex_data() and *_set_ex_data() return values.
Closes #3389. Thanks to Qingpeng Du.
2025-10-11 22:16:15 +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
9de56b8816 Meaningful return codes,plus remove a duplicate line 2025-10-10 14:30:18 +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
0c2ba6975f Update readmes with more up to date info 2025-09-26 16:03:15 +01:00
Roger A. Light
29c8b26cb0 Fix and improve PROXY protocol documentation.
Closes #3382, thanks to Pieter Hollander.
2025-09-26 13:39:34 +01:00
Roger A. Light
9a7865fc85 mosquitto_rr: Fix latency calculation 2025-09-26 13:29:18 +01:00
Roger A. Light
3f5984eb2b oss-fuzz: Fix 445970862
This is a test related error only, not a production code error
2025-09-19 14:47:33 +01:00
Roger A. Light
f02a98505a Fix windows installer files 2025-09-17 21:21:13 +01:00
Roger A. Light
13343e4995 Testing version 2025-09-17 19:21:45 +01:00
Roger A. Light
5002faadb0 Fix typo 2025-09-17 18:08:09 +01:00
Roger A. Light
a06d93610e Fix: session handling when per_listener_settings is set to true
Closes #2618
Closes #2526

Thanks to Reuben Miller and llamaonaskateboard.
2025-09-17 17:04:50 +01:00
Roger A. Light
84aeb282e3 Fix: session handling when per_listener_settings is set to true
Closes #2618
Closes #2526

Thanks to Reuben Miller and llamaonaskateboard.
2025-09-17 17:02:09 +01:00
Roger A. Light
53f5ab2ea0 Fix leak on http api file request 2025-09-17 17:00:58 +01:00
Roger A. Light
0566a90eb0 Fix leak on exit in password-file plugin 2025-09-17 17:00:58 +01:00
Roger A. Light
e4c823f369 Bump cjson version 2025-09-17 13:56:32 +01:00
Roger A. Light
f4ccfd55f4 Fix spurious compiler warning 2025-09-17 12:49:41 +01:00
Roger A. Light
0a6fa2ee90 Uncrustify config, plus updated format changes 2025-09-17 12:48:02 +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
5e20df0031 Simplify preprocessor macros 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
9d95bf24c3 Formatting: Indent fixes 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
Roger A. Light
a9fe4037ea Add example plugin for topic hierarchy flattening.
Issue #3365
2025-09-16 16:13:18 +01:00
Roger A. Light
1c153b7266 MHD_start_daemon doesn't like NULL options 2025-09-16 11:48:55 +01:00
Roger A. Light
7c3e849a4a Add dashboard to Windows installers 2025-09-16 11:48:55 +01:00
Roger A. Light
bce81bbe28 Docker: Update packaging for 2.1
Add ubuntu based image
2025-09-16 11:48:55 +01:00
Roger A. Light
737a6ee413 Snap: Update packaging for http dashboard 2025-09-16 11:48:55 +01:00
Roger A. Light
64fc17b689 Windows: Add new components to installers 2025-09-16 11:48:55 +01:00