Roger A. Light
2c54104ce3
[191] Fix some $SYS messages being incorrectly persisted.
...
Closes #191 .
Bug: https://github.com/eclipse/mosquitto/issues/191
9 years ago
Roger A. Light
ea2baa876c
Fix rare possible crash when writing persistence file.
9 years ago
Roger A. Light
57da586703
Fix saving of persistence messages that start with a '/'.
...
Closes #151 . Thanks to Andrew Chambers.
Signed-off-by: Roger A. Light <roger@atchoo.org>
10 years ago
Roger A. Light
3048c5ba0d
Changelog update.
...
Fix reconnecting for bridges that use TLS on Windows.
Closes #154 .
Thanks to Dmitry Kaukov.
10 years ago
Roger A. Light
991f1173d7
Fix persistent db writing on Windows.
...
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=464779
11 years ago
Roger A. Light
f04c10e609
Fix incorrectly committed change.
11 years ago
Roger A. Light
97849e8825
Remove unnecessary uses of calloc.
11 years ago
Roger A. Light
cfe1156eb7
Reference count store structs when reloading from db.
...
Without this increment, a message could be incorrectly freed in rare
circumstances.
11 years ago
Roger A. Light
85a294922e
Protect stored messages from removal when queing.
11 years ago
Roger A. Light
1e64bb171a
More memory efficient message store than with hashes.
...
Also frees messages from the message store after removing...
11 years ago
Roger A. Light
d30d711c3b
Improve struct layouts for memory usage.
11 years ago
Roger A. Light
ea8537c048
Remove unused messages from store immediately.
...
This removes the need for *store_clean*.
11 years ago
Roger A. Light
4374170c40
Use hash for message store to speed up loading.
...
Comes at the expense of increased memory usage. This could be countered
by using a hash just for loading (increased memory usage during loading,
reduced afterwards) but this approach does allow the immediate removal
of messages from the store.
11 years ago
Roger A. Light
9b9f1c7613
Remove unnecessary callocs.
11 years ago
Roger A. Light
070d783c9f
Merge 1.3.2-1.3.5 into 1.4.
11 years ago
Roger A. Light
1a47f86648
Typo fix.
11 years ago
Roger A. Light
429c892557
Fix saving persistent database on Windows.
...
Thanks to Daniel Degasperi.
11 years ago
Roger A. Light
1fb5a3edc6
Use hash counts to calculate numbers of clients.
11 years ago
Roger A. Light
f9951595c8
Fix missing headers.
11 years ago
Roger A. Light
bdb3e74100
More memory fixes.
11 years ago
Roger A. Light
3577dbf332
Add sock hash earlier to avoid crashes.
11 years ago
Roger A. Light
480d8a08d0
Count disconnected clients on persistence restore.
11 years ago
Roger A. Light
764b7e0a91
Use hash functions to store client data.
11 years ago
Roger A. Light
930b917217
Save disconnect_t for connected clients when the broker exits.
11 years ago
Roger A. Light
7b62bfd7da
Use time() for disconnect_t, CLOCK_MONOTONIC isn't useful over reboots.
11 years ago
Roger Light
0364bd1be7
Initial contribution.
12 years ago