Commit Graph

3106 Commits (b4a0255f1c3d1d6dfdf68373c375cd00b1715812)
 

Author SHA1 Message Date
Roger A. Light c7d9cf3a3c Windows uninstaller fixes. 4 years ago
Roger A. Light 7061569bf4 Don't send retained messages when a shared subscription is made. 4 years ago
Roger Light 3f62e80300
Merge pull request #2317 from doragasu/fixes_discon_cb_on_tls_err
Call disconnect callback on TLS error.
4 years ago
Roger A. Light c28110d079 Fix test 4 years ago
Roger A. Light 56e5c52abe Fix test. 4 years ago
Roger A. Light a199878fb3 Split plugin code to separate files. 4 years ago
Roger A. Light 06dc2f41f8 Don't include external files in coverage results. 4 years ago
Roger A. Light e01542b6cf Fix test. 4 years ago
Roger A. Light 20bcf6a7a8 Fix some cases of plugins not handling v5 plugins. 4 years ago
Roger A. Light 0992bafcc8 Add MOSQ_ERR_PLUGIN_IGNORE. 4 years ago
Roger A. Light a914580205 Remove obselete examples. 4 years ago
Roger A. Light 64915fbaea Fix bridge restart timeout. 4 years ago
Roger A. Light 193859243f Fix will delay idle behaviour. 4 years ago
Roger Light 55e123fec4 Fix incorrect free. 4 years ago
Roger A. Light 55d5d2e5f2 Fix for building when uthash not available. 4 years ago
Roger A. Light 7a86b1078a Fix security init order. 4 years ago
Roger A. Light 2bfc7e7cc8 Do plugin callback unregistering automatically. 4 years ago
Roger A. Light 6763d94962 Add plugin version helper. 4 years ago
Roger A. Light 0f9eb03b3c Don't trigger DISCONNECT events for clients that didn't complete connection. 4 years ago
Roger A. Light 88b4b43dee Fix type. 4 years ago
Roger A. Light 0f2f77c945 Improve idle / mux timeout performance. 4 years ago
Roger Light 88dfac8e88 Windows threading support for the library. 4 years ago
Roger Light dbd0d6f0d8 CMake build fixes. 4 years ago
Roger Light 07f793a108 Fix protocol checks - bridge and CONNACK responses. 4 years ago
Roger A. Light f7a57add81 Add NanoMQ crash test case. 4 years ago
Roger A. Light 9e28eea0a2 Initialise sockpairR/W to invalid in `mosquitto_reinitialise()`
This avoids closing invalid sockets in `mosquitto_destroy()` on error.

Closes #2326. Thanks to Arrigo Zanette.
4 years ago
Roger A. Light a73806acd4 App build fix. 4 years ago
Roger A. Light 7b58eee414 Fix problem parsing config files with Windows line endings.
Closes #2297. Thanks to all the people who commented there!
4 years ago
Roger A. Light 330bf6efdc Various fixes around inflight quota management.
Closes #2306. Thanks to canique.
4 years ago
Roger A. Light 7551a29985 Fix LWT messages not being delivered if `per_listener_settings` was set to true
Closes #2314. Thanks to Marc Hamel.
4 years ago
Roger A. Light 4f24ffef2f Add `disable_client_cert_date_checks` option. 4 years ago
Roger A. Light ba936a869d Add `accept_protocol_versions` option. 4 years ago
Roger A. Light f552ec48b1 Add global_max_connections option. 4 years ago
Roger A. Light 02685d49b6 Add `global_max_clients` option.
This allows limiting client sessions globally on the broker.
4 years ago
doragasu 4471ee9e47 Call disconnect callback on TLS error.
When using the library asynchronously, TLS errors caused e.g. because
of the date/time not set correctly, cause the connection to be silently
dropped without the disconnection callback being invoked, as described
in issue #1052.

This commit fixes the issue, returning the behavior to the one the
library had previous to version 1.5.4, if a TLS error occurs, the
disconnect callback will be invoked for the client to get notified of
the error.

Signed-off-by: doragasu <doragasu@protonmail.com>
4 years ago
Roger A. Light 8acee6647c Add mosquitto_client_port() for plugins. 4 years ago
Roger A. Light 7697406d3a Add topic modification example plugin. 4 years ago
Roger A. Light 1c6d74f208 Fix test 4 years ago
Roger A. Light 64e3c78306 Add `enable_control_api` option. 4 years ago
Roger A. Light d942ed7eec Fix `max_keepalive` option not being able to be set to 0. 4 years ago
Roger A. Light a25fc166a8 Add $CONTROL/broker/v1 control & the `getPluginInfo` command. 4 years ago
Roger A. Light 3413001d47 Add `mosquitto_plugin_set_info()`
This allows plugins to tell the broker their name and version.
4 years ago
Roger A. Light aa29b45e70 Merge branch 'master' into develop 4 years ago
Roger A. Light 9afeeb1a56 Docker apk upgrade no longer needed. 4 years ago
Roger A. Light 6d96f660bb Web page updates. 4 years ago
Roger A. Light 1638bd34f8 Update docker images
Use alpine:3.14, removing the need to compile cjson ourselves.
Update to libwebsockets 4.2.1.
Update to mosquitto 2.0.12.
4 years ago
Roger A. Light 76c9e44deb Test config and scripts for example plugins. 4 years ago
Roger A. Light 869016b831 Add print-ip-on-publish example plugin. 4 years ago
Roger A. Light 42acfdad41 Bump version, update web page. 4 years ago
Roger A. Light c6859366c4 Merge branch 'fixes' 4 years ago