Commit graph

73 commits

Author SHA1 Message Date
Roger A. Light
1753c13f2b Fix C++ symbols being removed when compiled with link time optimisation. 2025-05-01 11:54:53 +01:00
Roger A. Light
d17a88d916 Refactor headers for easier discovery. 2023-12-23 12:59:58 +00:00
Roger A. Light
e656e694ed Merge branch 'master' into develop 2023-09-09 15:20:40 +01:00
Roger A. Light
597d64b7fb Bump version. 2023-08-22 08:40:19 +01:00
Roger A. Light
afba3ec9a0 Bump version, update changelog. 2023-08-16 14:01:21 +01:00
Roger A. Light
068778f7d9 Use new accessor functions where sensible. 2023-05-31 22:55:41 +01:00
Roger A. Light
9be12f91af Add mosquitto_property_*_value() alternate accessor functions. 2023-05-31 22:48:48 +01:00
Roger A. Light
e44042c32b Add mosquitto_property_type(). 2023-05-29 11:21:22 +01:00
Roger A. Light
d72e1c4949 Add mosquitto_property_remove
This isfor removing properties from property lists.
2023-02-16 11:56:14 +00:00
Roger A. Light
fd330de080 client_id -> clientid rename. 2023-01-16 18:46:35 +00:00
Roger A. Light
fc84340820 Add mosquitto_unsubscribe2_v5_callback_set 2022-12-07 15:05:54 +00:00
Roger A. Light
5c0cfade12 Add http origin checking to built in websockets. 2022-12-03 22:14:12 +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
Arvin
dcad2e410a Fix comments errors, it is the client that sends PING to broker actively 2022-08-24 23:28:06 +08:00
Roger A. Light
fd68bf00c7 Merge branch 'master' into develop 2022-08-17 16:18:24 +01:00
Roger A. Light
966601f6b6 Bump version, new web post 2022-08-16 13:03:44 +01:00
Roger A. Light
6468bb4f9b Fix documentation omission around mosquitto_reinitialise.
Closes #2489. Thanks to rroguski
2022-08-10 14:31:34 +01:00
Roger A. Light
ba6bbd5959 Add documentation of struct mosquitto_message to header.
Closes #2561.
2022-08-08 00:01:56 +01:00
Roger A. Light
1e4dbd81fd Update mosquitto_[un]subscribe*() requirements. 2022-07-20 20:04:05 +01:00
Roger A. Light
b6b8039914 Fix use of MOSQ_OPT_TLS_ENGINE being unable to be used.
This was due to the openssl ctx not being initialised until starting to connect.

Closes #2537. Thanks to chessing-c4.
2022-05-17 17:19:17 +01:00
Roger A. Light
5fcb2bc13f Simplify use of headers. 2022-04-15 23:08:21 +01:00
Roger A. Light
7552e944a8 Long overdue bump of in-development version number. 2022-03-24 16:06:43 +00:00
Roger A. Light
f5625f499f Client HTTP request size configurable. 2022-01-13 19:39:04 +00:00
Roger A. Light
0f8733627a Plugin persistence interface. 2021-11-24 19:26:07 +00:00
Roger A. Light
2501a64035 Merge branch 'master' into develop 2021-11-23 12:53:50 +00:00
Roger A. Light
2a056f14c2 Bump version number, update web. 2021-11-17 00:26:03 +00:00
Roger Light
cd07f1136b Bump copyrights. 2021-11-03 22:10:06 +00:00
Roger A. Light
8ac11929cc Merge branch 'master' into develop 2021-10-27 17:19:33 +01:00
Roger A. Light
292e969140 Bump version, update web. 2021-10-27 16:40:21 +01:00
Roger Light
9d3f292b39 Send DISCONNECT With session-takeover return code.
This is for MQTT v5 clients when a client connects with the same client id.

Closes #2340. Thanks to hvxl.
2021-10-12 23:20:53 +01:00
Roger Light
4cb811a0b6 Add more basic auth rejection options for plugins. 2021-10-07 16:16:08 +01:00
Roger A. Light
799cdead15 Experimental custom websockets support. 2021-10-06 15:32:45 +01:00
Roger A. Light
0992bafcc8 Add MOSQ_ERR_PLUGIN_IGNORE. 2021-10-01 14:33:11 +01:00
Roger A. Light
aa29b45e70 Merge branch 'master' into develop 2021-09-07 19:17:11 +01:00
Roger A. Light
42acfdad41 Bump version, update web page. 2021-08-31 17:16:52 +01:00
Roger A. Light
49065f03a8 Merge remote-tracking branch 'origin/fixes' into develop 2021-07-09 14:12:05 +01:00
Roger A. Light
a02aad0a9c Add mosquitto_sub_matches_acl_with_pattern. 2021-07-08 17:45:50 +01:00
Roger A. Light
e0309acebc Add mosquitto_sub_matches_acl()
This moves the sub matching sub code from the dynsec plugin to the library and broker, and removes all of the malloc calls at the same time.
2021-06-10 22:19:39 +01:00
Roger A. Light
6502d6e5f4 Add mosquitto_topic_matches_sub_with_pattern()
And use it in the default security checks.
2021-06-10 15:33:01 +01:00
Roger A. Light
ea7e2a6bca Bump version, add post. 2021-06-08 22:27:07 +01:00
Roger A. Light
86ebf1149e Plugins using MOSQ_EVT_MESSAGE can reject based on quota. 2021-05-21 16:22:16 +01:00
Roger A. Light
214feb8f6b Merge branch 'fixes' into develop 2021-05-21 15:42:26 +01:00
Roger A. Light
a01dcd68a5 Document that bind_address can be NULL. 2021-05-20 10:21:05 +01:00
Roger A. Light
0d3870585b Plugin delayed authentication. 2021-05-19 16:54:26 +01:00
Roger Light
c317891df1 Clarify when callbacks get called. 2021-05-18 09:38:06 +01:00
Roger Light
ef7662ca8e Merge branch 'master' into develop 2021-04-24 23:32:48 +01:00
Christian Beier
fe10226cc9 Fix building with Visual Studio 2008
This older Microsoft compiler does not support mixing declarations and
code and misses some error defines. This commit enables building with
VS2008 by moving up some variable declarations and defining error
codes to their WinSock counterparts in case they're not defined.

Signed-off-by: Christian Beier <info@christianbeier.net>
2021-04-18 21:23:25 +02:00
Roger A. Light
ea46a8188e Add more documentation on pthread support. 2021-04-06 14:52:20 +01:00
Roger A. Light
e7aa0fed2f Bump version, update web page. 2021-04-03 12:00:33 +01:00
Roger Light
4c60fad52b Enforce receive maximum on MQTT v5. 2021-03-21 22:08:46 +00:00