Commit graph

361 commits

Author SHA1 Message Date
Roger A. Light
d2435fc685 cmake: Simplify WITH_BUNDLED_DEPS handling 2026-02-13 13:14:50 +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
6274730810 libcommon: Use mosquitto_fopen in mosquitto_read_file 2025-10-29 10:44:03 +00: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
9a7865fc85 mosquitto_rr: Fix latency calculation 2025-09-26 13:29:18 +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
Roger A. Light
c64273f663 Fix build on Mac OS, introduce Mac OS CI workflow
Closes #3312
2025-08-14 08:38:45 +01:00
Roger A. Light
32c2b64081 Add --retain-handling to sub and rr clients 2025-08-11 12:17:17 +01:00
Roger A. Light
d9847be370 Client: link common lib as required 2025-07-19 22:36:45 +01:00
Roger A. Light
ac154176c9 Fix 09-plugin-evt-psk-key test 2025-07-18 08:14:39 +01:00
Roger A. Light
82256e14b0 Use mosquitto_read_file() in mosquitto_pub 2025-07-18 07:25:44 +01:00
Roger A. Light
55134b48e9 mosquitto_rr: Add --latency option
Some checks failed
Mosquitto - Build variants / build (push) Has been cancelled
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Coverage / coverage (push) Has been cancelled
Mosquitto - CMake / build (push) Has been cancelled
Mosquitto - Make ASAN / build (push) Has been cancelled
Mosquitto - Make / build (push) Has been cancelled
Windows build / mosquitto (push) Has been cancelled
2025-06-03 13:13:08 +01:00
Roger A. Light
3511db6889 Whitespace tidy
Some checks failed
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Coverage / coverage (push) Has been cancelled
Mosquitto - CMake / build (push) Has been cancelled
Mosquitto - Make ASAN / build (push) Has been cancelled
Mosquitto - Make / build (push) Has been cancelled
Windows build / mosquitto (push) Has been cancelled
2025-04-06 22:40:48 +01:00
Roger A. Light
ab0bbc925b Fix windows build
Some checks failed
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Coverage / coverage (push) Has been cancelled
Mosquitto - CMake / build (push) Has been cancelled
Mosquitto - Make ASAN / build (push) Has been cancelled
Mosquitto - Make / build (push) Has been cancelled
Windows build / mosquitto (push) Has been cancelled
2025-04-01 12:00:49 +01:00
Roger A. Light
bd52ede4de Remove support for TLS v1.1 2025-04-01 11:36:39 +01:00
Roger A. Light
503a9120db Windows build fix
Some checks failed
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Coverage / coverage (push) Has been cancelled
Mosquitto - CMake / build (push) Has been cancelled
Mosquitto - Make ASAN / build (push) Has been cancelled
Mosquitto - Make / build (push) Has been cancelled
Windows build / mosquitto (push) Has been cancelled
2025-03-28 13:05:12 +00:00
Roger A. Light
dcbe922ed0 Add --message-rate option to mosquitto_sub
When active, this prints the count of messages received each second.
2025-03-28 10:50:17 +00:00
Roger A. Light
ee485341dd Merge branch 'develop' of github.com:andreaskem/mosquitto into andreaskem-develop 2025-02-25 17:02:16 +00:00
Roger A. Light
3c1a8c14dd Fix leak in mosquitto_pub on argument error 2024-03-27 11:00:21 +00:00
Roger A. Light
8ccef0713b Test improvements, remove redundant code 2024-02-26 18:25:31 +00:00
Roger A. Light
8a8d6e043e mosquitto_sub: Add optional hex payload field separation 2024-02-26 00:19:32 +00:00
Roger A. Light
dcd5b803f2 Merge branch 'fixes' into develop 2024-02-21 23:30:33 +00:00
Roger A. Light
bbdd379e4f Do graceful socket shutdown for clients.
Helps with some tests.
2023-12-24 08:18:00 +00:00
Roger A. Light
d17a88d916 Refactor headers for easier discovery. 2023-12-23 12:59:58 +00:00
Roger A. Light
28590fa383 Remove unused headers 2023-11-15 22:45:38 +00:00
Roger A. Light
c8e313aac0 Fix build
This is for the case where command line overrides are set.
2023-09-19 22:48:24 +01:00
Roger A. Light
7ae22c356b Fix mosquitto_rr not honouring -R.
Closes #2893. Thanks to jwinder-ca
2023-09-13 09:02:55 +01:00
Bart Desplanques
105e30ff5b Fix engine support.
Do not try to open keyfile when keyform is "engine": this is not necessarily a real file.
Dynamic engines require init with OPENSSL_INIT_ENGINE_DYNAMIC before they can be loaded.

Signed-off-by: Bart Desplanques <bart.desplanques@gmail.com>
2023-06-02 19:11:50 +02:00
Roger A. Light
e306691b7b Fix client build options 2023-05-29 11:20:11 +01:00
Roger A. Light
a31bee722f Simplify make build. 2023-05-10 16:20:06 +01:00
Roger A. Light
53dc3006a2 Make cJSON a hard dependency. 2023-04-01 23:35:03 +01:00
Roger A. Light
ed8211858e CMake build fixes 2023-03-27 22:32:46 +01:00
Roger A. Light
5fbe8e5be2 Add --tls-keylog for clients. 2023-03-03 15:31:46 +00:00
Roger A. Light
c0b7f54ac1 Fuzzing: db_dump file loading 2023-02-04 23:55:15 +00:00
Roger A. Light
5fb4b05d8f Support for initial fuzzing through oss-fuzz 2023-01-31 13:54:21 +00:00
Roger A. Light
85f53b22dd Fix Coverity Scan 1251560 2023-01-25 13:28:57 +00:00
Roger A. Light
dcbbf71cb2 Coverity suppressions 2023-01-25 12:00:48 +00:00
Roger A. Light
08a59670c9 Fix Coverity Scan 1251560 2023-01-25 09:40:12 +00:00
Roger A. Light
9a7d69f532 Fix Coverity Scan 1502688 2023-01-25 09:38:24 +00:00
Roger A. Light
fd330de080 client_id -> clientid rename. 2023-01-16 18:46:35 +00:00
Roger A. Light
9260cf25f8 Fix parsing of IPv6 addresses in socks proxy urls. 2023-01-16 10:31:13 +00:00
Rob Swindell
c060d2e0f4 Resolve win32 build Error C2440 with CALLBACK function decoration
'function': cannot convert from 'void (__cdecl *)(PVOID,BOOLEAN)' to 'WAITORTIMERCALLBACK'

Signed-off-by: Rob Swindell <rob@synchro.net>
2022-12-27 21:46:32 -08:00
Roger Light
9ee1dc5294
Merge pull request #2712 from NorbertHeusser/cleanup-include-guards
Cleanup of include guard defines
2022-12-22 15:37:05 +00:00
Roger A. Light
2e4db3aa2a Improve test/client/02-subscribe-format-json-properties.py 2022-12-22 13:39:57 +00:00
Roger A. Light
0fb4e2bf6a Fix incorrect topic-alias property value in mosquitto_sub json output. 2022-12-22 13:21:42 +00:00