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
86ec8c6169
Factor out unneeded argument
3 years ago
Roger A. Light
100fd31530
Refactor base_msg structs.
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
Roger A. Light
86f3a6b484
Extend db_dump tests, and fix minor bugs.
3 years ago
Roger A. Light
d71451984c
Fix frees in db_dump.
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
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
a1a190b482
Pointless whitespace tidy.
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 Light
e1c8f09372
Remove C++ style comments.
4 years ago
Roger Light
2de8c15bc9
Minor build fixes.
5 years ago
Roger A. Light
a4389fc9ce
Fix SPDX identifiers: EDL-1.0 -> BSD-3-Clause.
...
The two licenses are the same.
5 years ago
Roger A. Light
3731535298
Add SPDX license identifiers.
5 years ago
Roger A. Light
584cf51ba7
Update to EPL-2.0
5 years ago
Roger A. Light
adfa9f1e21
Always zero terminate payloads (removes uhpa support)
5 years ago
Roger A. Light
0c6365726f
Coverity Scan issues.
...
1436823
1436837
1436843
1432792
1436847
1436848
1436849
5 years ago
Roger A. Light
f83fcc8535
Fix Coverity Scan issues.
...
1436866
1436865
1436864
1436862
1436857
1436856
1436852
1436851
5 years ago
Roger A. Light
b816d46508
Use db as a global var instead of passing to functions.
...
This allows a big swath of ifdefs to be removed. It also means savings as the db var is not passed around all of the time, and makes it easier to remove the final broker call to mosquitto_time() call in packet_mosq.c. In one test this reduced the calls to mosquitto_time() from 295k to 48k.
5 years ago
Roger A. Light
4f61f6c161
Fix conversion errors.
5 years ago
Roger A. Light
d70ffd4b00
Move db_dump to apps directory.
5 years ago