Roger A. Light
a31bee722f
Simplify make build.
2 years ago
Roger A. Light
6f574f80ea
db_dump: Fix further memory leak on exit only.
3 years ago
Roger A. Light
bba3f3f849
db_dump: Fix memory not being freed on error exit.
3 years ago
Roger A. Light
105a652fbf
Remove unused header.
3 years ago
Roger A. Light
da723c373b
Fix db_dump crash on corrupt file.
...
Closes oss-fuzz #55789
3 years ago
Roger A. Light
5232e041d1
db_dump: Tidy up error reporting.
3 years ago
Roger A. Light
61c9696bec
db_dump: Use single corrupt db message path.
3 years ago
Roger A. Light
c0b7f54ac1
Fuzzing: db_dump file loading
3 years ago
Roger A. Light
fd330de080
client_id -> clientid rename.
3 years ago
Roger A. Light
5364410615
Rename members
3 years ago
Roger A. Light
331e802913
Rename mosquitto_client_msg -> mosquitto__client_msg
3 years ago
Roger A. Light
3634f18bc9
Refactor subscription structs
3 years ago
Roger A. Light
86ec8c6169
Factor out unneeded argument
3 years ago
Roger A. Light
100fd31530
Refactor base_msg structs.
3 years ago
Roger A. Light
2d969efdc4
Fix cmake tests
3 years ago
Roger A. Light
56b1fa01bd
Fix Coverity Scan 1436848
3 years ago
Roger A. Light
2e36d523c8
Rename mosquitto_base_msg -> mosquitto__base_msg
3 years ago
Norbert Heusser
2ec6901e92
Fixed target clean in apps/db_dump Makefile
...
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
3 years ago
Roger A. Light
86f3a6b484
Extend db_dump tests, and fix minor bugs.
3 years ago
Roger A. Light
26de915f53
Use MAKE macro, no need to pass MAKEFLAGS.
3 years ago
Roger A. Light
88b20c9113
Fix missing make targets
3 years ago
Roger A. Light
27c99bc7e7
Add db_dump test to verify current broker output.
3 years ago
Roger A. Light
6b1b0bf7bc
Start of db_dump tests.
3 years ago
Roger A. Light
afc575aa1c
Simplify function calls.
3 years ago
Roger A. Light
4997b40259
Report persistence stats when starting.
3 years ago
Roger A. Light
ca618c6f96
Fix db_dump coverage build
3 years ago
Roger A. Light
fd68bf00c7
Merge branch 'master' into develop
3 years ago
Roger A. Light
d71451984c
Fix frees in db_dump.
3 years ago
Roger A. Light
3e1cf8a80b
Fix tests build.
3 years ago
Roger A. Light
726b7f42a8
Fix Coverity Scan 1486941
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
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
0f8733627a
Plugin persistence interface.
4 years ago
Roger A. Light
9ad8d943be
Stored messages now always stored in a hash table.
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
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
a1a190b482
Pointless whitespace tidy.
4 years ago
Roger A. Light
a73806acd4
App build fix.
4 years ago
Roger A. Light
aa29b45e70
Merge branch 'master' into develop
4 years ago
Roger A. Light
f952d19da1
Fix printf format build warning on MIPS.
...
Closes #2271 . Thanks to Karl Palsson.
4 years ago
Roger A. Light
906a515704
Simplify client message properties, only one is used.
4 years ago
Roger A. Light
214feb8f6b
Merge branch 'fixes' into develop
4 years ago
Roger Light
0eb7391e71
Fix tests and db_dump compilation.
4 years ago
Roger A. Light
8a03b5ad5c
Function for checking if a context is connected.
4 years ago
Roger Light
e1c8f09372
Remove C++ style comments.
4 years ago
Roger A. Light
4ee03f21e3
Guard against missing UNUSED.
5 years ago
Roger Light
2de8c15bc9
Minor build fixes.
5 years ago