Commit graph

3580 commits

Author SHA1 Message Date
Roger A. Light
fd330de080 client_id -> clientid rename. 2023-01-16 18:46:35 +00:00
Roger A. Light
0dc1fa5a49 Rejig SUBSCRIBE and UNSUBSCRIBE plugin event structs. 2023-01-16 17:48:56 +00:00
Roger A. Light
3e17494d34 Rename topic -> topic_filter in events. 2023-01-16 17:17:55 +00:00
Roger A. Light
b94d0d5c81 Simplify sub__leaf struct. 2023-01-16 12:34:32 +00:00
Roger A. Light
9260cf25f8 Fix parsing of IPv6 addresses in socks proxy urls. 2023-01-16 10:31:13 +00:00
Roger A. Light
9ef6c49266 Renaming and adding tests. 2023-01-16 10:31:13 +00:00
Abilio Marques
f82bc84995 update changelog to add detail on sub, ubsub and message_read plugin events
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
2023-01-16 10:31:13 +00:00
Abilio Marques
46442193f3 add example plugin that jails clients
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
2023-01-16 10:31:13 +00:00
Abilio Marques
4cc76aae9c add example plugin that limits subscriptions' QoS
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
2023-01-16 10:31:11 +00:00
Abilio Marques
e9af914cf0 add subcribe hooks on plugin API
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
2023-01-16 10:30:57 +00:00
Abilio Marques
1677d1aed2 allow message modification on output
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
2023-01-16 10:29:50 +00:00
Roger A. Light
9a6dcc0232 Clear sub qos for v3.x 2023-01-16 10:21:12 +00:00
Roger A. Light
1081661f74 Refactor client structs. 2023-01-16 10:21:12 +00:00
Roger A. Light
5364410615 Rename members 2023-01-16 10:21:12 +00:00
Roger A. Light
7013a3502d Refactor client_msg structs 2023-01-16 10:21:12 +00:00
Roger A. Light
331e802913 Rename mosquitto_client_msg -> mosquitto__client_msg 2023-01-16 10:21:12 +00:00
Roger A. Light
3634f18bc9 Refactor subscription structs 2023-01-16 10:21:12 +00:00
Roger A. Light
86ec8c6169 Factor out unneeded argument 2023-01-16 10:21:12 +00:00
Roger A. Light
6f39425946 Only calculate hash value once. 2023-01-16 10:21:12 +00:00
Roger A. Light
100fd31530 Refactor base_msg structs. 2023-01-16 10:21:12 +00:00
Roger A. Light
99df070a2b Add cmake build and test workflow. 2023-01-15 22:12:08 +00:00
Roger A. Light
2d969efdc4 Fix cmake tests 2023-01-15 22:05:49 +00:00
Roger A. Light
2928ca41f4 Temporary disable CI failing test 2023-01-11 23:10:05 +00:00
Roger A. Light
92452aa37c Test for dhparamfile use. 2023-01-11 23:09:17 +00:00
Roger A. Light
475a708d30 Fix openssl 3 deprecations. 2023-01-11 22:34:08 +00:00
Roger A. Light
291e46bb1a Attempt to fix CI specific failure. 2023-01-11 10:07:29 +00:00
Roger Light
da56a3ea81
Merge pull request #2717 from rswindell/develop
Resolve win32 build Error C2440 with CALLBACK function decoration
2023-01-05 16:42:14 +00:00
Roger A. Light
56b1fa01bd Fix Coverity Scan 1436848 2023-01-04 11:48:30 +00:00
Roger A. Light
862550f4c0 Fix Coverity Scan 1500606 2023-01-04 11:46:10 +00:00
Roger A. Light
86b3893cd4 Fix Coverity Scan 1501341. 2023-01-04 11:43:09 +00:00
Roger A. Light
d1b9c0ed90 Fix Coverity Scan 1501342 2023-01-04 11:42:37 +00:00
Roger A. Light
343a984083 Big rejig of library tests
Includes full consistency between C/C++ library tests
2023-01-02 11:45:09 +00:00
Roger A. Light
4199e7b2d3 Move control functions to common, and use in the broker. 2022-12-31 14:34:26 +00:00
Rob Swindell
fd77a7cb22 Merge branch 'develop' of github.com:rswindell/mosquitto into develop 2022-12-27 21:46:53 -08: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
Rob Swindell
5a03fd26fb Resolve win32 build Error C2440 with CALLBACK function decoration
'function': cannot convert from 'void (__cdecl *)(PVOID,BOOLEAN)' to 'WAITORTIMERCALLBACK'
2022-12-27 21:43:34 -08:00
Roger A. Light
611c43e537 Dynsec: Save file at end of command batch, not after each command 2022-12-27 08:16:41 +00:00
Roger A. Light
2e36d523c8 Rename mosquitto_base_msg -> mosquitto__base_msg 2022-12-22 16:04:03 +00: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
Norbert Heusser
ba5f8eb448 Cleanup of include guard defines
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
2022-12-21 15:35:38 +00:00
Roger A. Light
d7833c8dcb Test websockets with large payload >65535 bytes 2022-12-19 15:25:55 +00:00
Roger A. Light
985824da8d Test socks with ipv4 address 2022-12-19 15:24:48 +00:00
Roger A. Light
f70806f6e7 Don't try to set TCP_NODELAY for unix sockets. 2022-12-19 15:24:22 +00:00
Roger A. Light
04ccf1cb6c Add test for subjectAltName usage. 2022-12-19 14:47:55 +00:00
Roger A. Light
9e9a4f836c Fix duplicate# 2022-12-19 13:13:10 +00:00
Roger A. Light
c6be853a7e Sync example with plugin interface 2022-12-19 13:10:44 +00:00
Roger A. Light
8cbfb59f66 Add mosquitto_plugin_cleanup() to examples for 2.0 compatibility 2022-12-19 13:08:01 +00:00
Roger A. Light
dae1073360 Add missing Makefile 2022-12-18 16:34:15 +00:00
Roger A. Light
ef4ed0e97f Add missing "future" entry to persist evt structs 2022-12-16 22:34:58 +00:00