Roger A. Light
cac537830e
Fix Coverity Scan 1486949 Resource leak
4 years ago
Roger A. Light
0414a13347
Fix Coverity Scan 1486942 Resource leak
4 years ago
Roger A. Light
87d059b57e
Fix Coverity Scan false positive 1486937 Resource leak
4 years ago
Roger A. Light
27b4a6aa33
Fix Coverity Scan 1487012 Resource leak
4 years ago
Roger A. Light
b3096982b5
Fix Coverity Scan 1486953 Use after free
4 years ago
Roger A. Light
07b7533b1e
Fix Coverity Scan 1486947 Double free
4 years ago
Roger A. Light
c661f475b4
Coverity Scan fixes - Invalid type in argument to printf format specifier
...
1453805
1453806
1486939
1486954
1486955
1486956
1486960
4 years ago
Roger A. Light
0549a6a9aa
Fix Coverity Scan 1486957 Resource leak
4 years ago
Roger A. Light
1d805316ba
Fix Coverity Scan 1486949 Resource leak
4 years ago
Roger A. Light
fa0b532e69
Fix Coverity Scan 1486948 Structurally dead code
4 years ago
Roger A. Light
a94eb99c97
Fix Coverity Scan 1486945 String not null terminated
4 years ago
Roger A. Light
1771dd9941
Fix Coverity Scan 1436854 Resource leak
4 years ago
Roger A. Light
c70a925f29
Fix Coverity Scan 1486935 Logically dead code
4 years ago
Roger A. Light
42d9390d04
Fix Coverity Scan 1486958 Logically dead code
4 years ago
Roger A. Light
2e7a313ba1
Fix Coverity Scan 1486952 Resource leak
4 years ago
Roger A. Light
00b5d5d496
Fix Coverity Scan 1486940 Resource leak
4 years ago
Roger A. Light
f7368b107e
Fix Coverity Scan 1486938 Resource leak
4 years ago
Roger A. Light
dbe1554cf5
Fix Coverity Scan 1486946 Resource leak.
4 years ago
Roger A. Light
726b7f42a8
Fix Coverity Scan 1486941
4 years ago
Roger A. Light
79f4c12141
Pass missing parameters to client_msg update for persist plugins.
4 years ago
Roger A. Light
017197d8ff
Add db__message_remove_queued
...
If a plugin tries to remove a queued message it would have otherwise failed.
4 years ago
Abilio Marques
bca4a7fca6
fix default bridge backoff periods (scale seconds to milliseconds)
...
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
4 years ago
Roger A. Light
7939633114
Optimise persist client msg clearing.
4 years ago
Roger A. Light
a61298d03a
Fix persist docs
...
Add mosquitto_persist_client_msg_clear() for completeness.
4 years ago
Roger A. Light
bf1d39746a
dynsec: admin should have sys-observe role
4 years ago
Roger A. Light
0a4a029fbf
Persist plugin: Simplify cases where we don't take a copy.
...
Some members of the persist plugin interface are only used to find a
client struct, for example. There is no need for the plugin to allocate
a new copy and the broker to free it in that case.
4 years ago
Nathanaël Lécaudé
610b63985a
Fix typo (missing word)
4 years ago
Roger A. Light
3122d3e2c5
Simplify some dynsec config functions.
4 years ago
Abilio Marques
3c48b501e0
broker: fix memory leaks on plugin payload modification
...
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
4 years ago
Roger A. Light
5279a424b1
Dynsec: Kick clients in tick event rather than immediately
...
This means that PUBACK/PUBREC should be sent to clients that modify
their own roles.
Closes #2474 . Thanks to Stefano Berlato.
4 years ago
Roger A. Light
aab5661868
Fix disconnect message on $CONTROL callback error.
4 years ago
Roger A. Light
6ccdda7261
Add bridge_tls_use_os_certs option.
...
This allows bridges to be easily configured to trust default CA
certificates.
Closes #2473 . Thanks to Dustin Utecht.
4 years ago
Roger A. Light
bbfaa619a2
Make listener start/stop more independent of general init.
4 years ago
Roger A. Light
0433b8ee9b
Update changelog, fix usage of m_set_clientid(), add test.
4 years ago
Roger A. Light
6b054b60ea
Merge branch 'Daedaluz-develop' into develop
4 years ago
Roger A. Light
2ed05539c7
Merge branch 'develop' of https://github.com/Daedaluz/mosquitto into Daedaluz-develop
4 years ago
Roger A. Light
0deaae286e
NULL after freeing.
4 years ago
Roger A. Light
051fbadb99
Move some CONTROL code to plugin common.
4 years ago
Roger A. Light
8212bbe29b
Remove defunct pgp keyservers from Dockerfiles.
4 years ago
Roger A. Light
8459a3c456
Fix whitespace errors
4 years ago
Roger A. Light
1b7c6b5cbd
All docker images should use the same base.
4 years ago
Roger A. Light
3c16043481
Be consistent about when to persist messages.
4 years ago
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