Commit Graph

60 Commits (65a6191202c5515d3b26ec253a3d2b2b34a978f2)

Author SHA1 Message Date
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.
3 years ago
Roger A. Light fd68bf00c7 Merge branch 'master' into develop 3 years ago
Roger A. Light 966601f6b6 Bump version, new web post 3 years ago
Roger A. Light 6468bb4f9b Fix documentation omission around mosquitto_reinitialise.
Closes #2489. Thanks to rroguski
3 years ago
Roger A. Light ba6bbd5959 Add documentation of struct mosquitto_message to header.
Closes #2561.
3 years ago
Roger A. Light 1e4dbd81fd Update mosquitto_[un]subscribe*() requirements. 3 years ago
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.
3 years ago
Roger A. Light 5fcb2bc13f Simplify use of headers. 4 years ago
Roger A. Light 7552e944a8 Long overdue bump of in-development version number. 4 years ago
Roger A. Light f5625f499f Client HTTP request size configurable. 4 years ago
Roger A. Light 0f8733627a Plugin persistence interface. 4 years ago
Roger A. Light 2501a64035 Merge branch 'master' into develop 4 years ago
Roger A. Light 2a056f14c2 Bump version number, update web. 4 years ago
Roger Light cd07f1136b Bump copyrights. 4 years ago
Roger A. Light 8ac11929cc Merge branch 'master' into develop 4 years ago
Roger A. Light 292e969140 Bump version, update web. 4 years ago
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.
4 years ago
Roger Light 4cb811a0b6 Add more basic auth rejection options for plugins. 4 years ago
Roger A. Light 799cdead15 Experimental custom websockets support. 4 years ago
Roger A. Light 0992bafcc8 Add MOSQ_ERR_PLUGIN_IGNORE. 4 years ago
Roger A. Light aa29b45e70 Merge branch 'master' into develop 4 years ago
Roger A. Light 42acfdad41 Bump version, update web page. 4 years ago
Roger A. Light 49065f03a8 Merge remote-tracking branch 'origin/fixes' into develop 4 years ago
Roger A. Light a02aad0a9c Add mosquitto_sub_matches_acl_with_pattern. 4 years ago
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.
4 years ago
Roger A. Light 6502d6e5f4 Add mosquitto_topic_matches_sub_with_pattern()
And use it in the default security checks.
4 years ago
Roger A. Light ea7e2a6bca Bump version, add post. 4 years ago
Roger A. Light 86ebf1149e Plugins using MOSQ_EVT_MESSAGE can reject based on quota. 4 years ago
Roger A. Light 214feb8f6b Merge branch 'fixes' into develop 4 years ago
Roger A. Light a01dcd68a5 Document that bind_address can be NULL. 4 years ago
Roger A. Light 0d3870585b Plugin delayed authentication. 4 years ago
Roger Light c317891df1 Clarify when callbacks get called. 4 years ago
Roger Light ef7662ca8e Merge branch 'master' into develop 4 years ago
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>
5 years ago
Roger A. Light ea46a8188e Add more documentation on pthread support. 5 years ago
Roger A. Light e7aa0fed2f Bump version, update web page. 5 years ago
Roger Light 4c60fad52b Enforce receive maximum on MQTT v5. 5 years ago
Roger A. Light bb73eed557 Bump version number and update web pages. 5 years ago
Roger A. Light fd036b9435 Merge branch 'fixes' into develop 5 years ago
Roger Light 83334afee8 Remove redunant function delaration. 5 years ago
Roger A. Light cec9d36445 Bump version and web pages. 5 years ago
Roger A. Light 3f84ad006d Add `on_pre_connect()` callback.
This allows clients to update usernames/passwords/TLS parameters prior
to reconnecting.
5 years ago
Roger A. Light c2a26250f6 Bump changelog, versions, and web pages. 5 years ago
Roger A. Light 53b7cc5fc1 Bump version number, add web post. 5 years ago
Roger A. Light a4389fc9ce Fix SPDX identifiers: EDL-1.0 -> BSD-3-Clause.
The two licenses are the same.
5 years ago
Roger A. Light c9aa3ca847 Add MOSQ_OPT_DISABLE_SOCKETPAIR. 5 years ago
Roger A. Light ae3800ad66 Bump version number, add www post. 5 years ago
Roger A. Light d9a34fbb3a Improve documentation around the `_v5()` and non-v5 functions.
For example `mosquitto_publish()` and `mosquitto_publish_v5().
5 years ago
Roger A. Light 5a565da82b Bump version number. Update changelog and web pages. 5 years ago
Roger A. Light ce30f811ba Improve API documentation.
Fix return code on callback unregister.
5 years ago