Commit Graph

3106 Commits (b4a0255f1c3d1d6dfdf68373c375cd00b1715812)
 

Author SHA1 Message Date
Roger A. Light b4a0255f1c Process retain persist events only every 10 seconds. 4 years ago
Roger A. Light 1bb16a68dc Test fixes for running under valgrind 4 years ago
Roger A. Light cbb01193a0 Rename persist retain_add to retain_set 4 years ago
Roger A. Light c985736866 Restrict persistence events to persisted clients only. 4 years ago
Roger A. Light d6429ea5e9 msg_store fix for xtreport. 4 years ago
Roger A. Light 8d94fdc688 Minor housekeeping. 4 years ago
Roger A. Light ba4a5a9ce1 Add missing evt strings 4 years ago
Roger A. Light 2d3b152a22 Rename of mosquitto_msg_store struct.
struct mosquitto_msg_store -> struct mosquitto_base_msg

This is the base message which client messages and retained messages
refer to. The base messages are still held in the message store.

This change comes about because the persistence interface exposes these
message types. Prior to this commit the different messages were "msg",
"client_msg", and "retain". After this commit there is "base_msg",
"client_msg", and and "retain_msg" in the persist interface.
4 years ago
Roger A. Light d2f598b6f6 persist-sqlite: commit transactions once every 5 seconds 4 years ago
Roger A. Light 68c002bc55 Plugin event counter example plugin. 4 years ago
Roger A. Light 1972ab9a59 Man page fix 4 years ago
Roger A. Light d8028a16d6 Update changelog.
Closes #1509.
4 years ago
Roger A. Light c93d53c278 Update changelog 4 years ago
Roger A. Light a13296c0b1 Merge branch 'abiliojr-improve_backoff' into develop 4 years ago
Roger A. Light a85d9fb3e9 Merge branch 'improve_backoff' of https://github.com/abiliojr/mosquitto into abiliojr-improve_backoff 4 years ago
Roger A. Light 14d1c32f9d Update changelog. Style, whitespace and, linker fixes. 4 years ago
Roger A. Light 7f22caaa3d Merge branch 'NorbertHeusser-develop' into develop 4 years ago
Norbert Heusser e7e8b6e832 * Added list of connections to dynsec/getClient response
* Added new helper function mosquitto_apply_on_all_clients to broker
* Refactoring in dynamic-security plugin

Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
4 years ago
Roger A. Light d2a6a25c04 Don't persist messages that are not needed. 4 years ago
Roger A. Light 2afe19466a Remove unused macro. 4 years ago
Roger A. Light 02d08b9889 wildcard-temp: Don't attempt to delete from an empty list. 4 years ago
Roger A. Light 1f370d8c36 Don't persist messages that are not needed. 4 years ago
Roger A. Light a0f58f20c3 Update threaded builds.
Most specifically use -pthread instead of -lpthread.
4 years ago
Roger A. Light 3bb8be6ea2 Client tests should not run in parallel. 4 years ago
Roger A. Light ffb7661d86 Move shared code to common directory
This is currently limited to "utility" type functions and does not include code common to the library and broker that are protocol related.
4 years ago
Roger A. Light 5a3b42d4a4 Use path vars in Makefiles. 4 years ago
Roger A. Light aae7c406fe wildcard-temp plugin: Fix use after free. 4 years ago
Roger A. Light d3f0d28d65 Persist-sqlite: Default to "normal" synchronous mode. 4 years ago
Roger A. Light 374f547b64 Persist sqlite: Store client connection time. 4 years ago
Roger A. Light bc1adfd46d CMake fixes.
Builtin websockets support.
Persist sqlite plugin build.
Broker cJSON support
Add wildcard-temp plugin.
4 years ago
Roger A. Light 682e6c0401 Fix global plugins not being loaded when used with per_listener_settings true. 4 years ago
Roger A. Light 6b32cf61b2 CMake build fixes, including sqlite support. 4 years ago
Roger A. Light 8d073771c3 Make some plugin code shared for future use. 4 years ago
Roger A. Light d032c94d14 Remove global vars. 4 years ago
Roger A. Light 4adce6d0da Add anonymous group when generating dynsec config. 4 years ago
Roger A. Light a2f5cf30c4 Remember to export mosquitto_client() function. 4 years ago
Abilio Marques 08da33c128 bridge: track backoff in ms
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
4 years ago
Abilio Marques 03ad07f121 bridge: wait for stable connection before resetting backoff
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
4 years ago
Abilio Marques 94fe984382 bridge: fix regression that makes constant backoff impossible
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
4 years ago
Roger A. Light df2a4a666f Add missing hunk from previous commit. 4 years ago
Roger A. Light 78ee04cc27 Add mosquitto_client() for plugins, rearrange changelog. 4 years ago
Roger A. Light 6f8ced5038 Test fixes. 4 years ago
Roger A. Light c87148ac3e userdata function testing. 4 years ago
Roger A. Light 92c6fcf547 Tests should exit gracefully rather than being terminated. 4 years ago
Roger A. Light 306215db39 Split library actions.c for easier discoverability. 4 years ago
Roger A. Light 5e601c3853 Library connect tests. 4 years ago
Roger A. Light 3ce8de32ff Fix typo 4 years ago
Roger A. Light 388f0eee6f Fix bridge reconnections. 4 years ago
Roger A. Light 11c5cf039f Simplify memory use for dynsec. 4 years ago
Roger A. Light 223d9eae66 mosquitto_sub json output tests, and user-properties fix. 4 years ago