Commit Graph

3117 Commits (5279a424b1d6663f0f88d5e324559c251bf0439d)
 

Author SHA1 Message Date
Roger Light 5cae4d1d81 Fix broker sending duplicate CONNACK on failed MQTT v5 reauthentication.
Closes #2339. Thanks to hvxl.
4 years ago
Roger Light 51eda2bf79 Add more efficient keepalive check. 4 years ago
Roger A. Light 21ded3df0d Build fix 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 be80a3f4d0 Fix client id not showing in log on failed connections, where possible. 4 years ago
Roger A. Light 3b471c8669 Fix test 4 years ago
Roger A. Light a1a190b482 Pointless whitespace tidy. 4 years ago
Roger A. Light 7234de7d86 Add Windows headless installer help. 4 years ago
Roger A. Light 0ce167c472 Fix log file being truncated on Windows. 4 years ago
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