Roger A. Light
42732f4cca
Fix mosquitto_passwd segfault on corrupt file.
...
Thanks to srasku-ge.
Closes #1207
7 years ago
Roger A. Light
43c159b9a5
Support and tests for saving message expiry interval.
7 years ago
Roger A. Light
5f0cb3a44c
Possible fix for errant test.
7 years ago
Roger A. Light
61fe26474e
Test and fix for client message prop persistence.
7 years ago
Roger A. Light
5841da2c36
Tests for persisting message store properties.
7 years ago
Roger A. Light
efb20625fb
Code and tests for persisting client msg properties.
7 years ago
Roger A. Light
c95ae6a6fd
Remove one instance of recursion.
7 years ago
Roger A. Light
48253bc12c
Persist message store publish properties.
7 years ago
Roger A. Light
2f15a7be2b
Add subscription-identifier and options to persistence.
7 years ago
Roger A. Light
5691456ac7
Remove errant header from merge.
7 years ago
Roger A. Light
214a5f3aab
v5 persistence file format
...
This includes changes to improve read/write performance.
It is not complete, and will have further changes to add properties and anything else required for MQTT v5.
7 years ago
Roger A. Light
a0e54ac065
Function for reading persist file chunk header.
7 years ago
Roger A. Light
ee5412b060
Persist write fix.
7 years ago
Roger A. Light
a50d129a3c
Fix db_dump.
7 years ago
Roger A. Light
e249ca7e91
Separate the persistence actual writing functions.
7 years ago
Roger A. Light
7a53b28080
Start of persistence writing tests.
7 years ago
Roger A. Light
54a35ed0ed
Free clients with >0 session expiry on exit.
7 years ago
Roger A. Light
94450eb8bc
Keep log open until we are ready to quit.
7 years ago
Roger A. Light
8024a30d1d
Fix potential leak.
7 years ago
Roger A. Light
c90bd4e0c6
Add helper function for internal debug logging.
7 years ago
Roger A. Light
b29c8ced55
Fix compilation warning for WITH_WEBSOCKETS=no.
7 years ago
Roger A. Light
ad2ce6c4e6
Add internal logging type, for development debugging.
7 years ago
Roger A. Light
c5699da5ce
Don't remove unused websockets contexts until lws is finished with them.
7 years ago
Roger A. Light
0ced003880
Always remove from by_id when adding to disused list.
7 years ago
Roger A. Light
320ddc1303
Merge branch 'master'
...
Conflicts:
CMakeLists.txt
ChangeLog.txt
client/Makefile
config.mk
installer/mosquitto.nsi
installer/mosquitto64.nsi
lib/mosquitto.h
lib/mqtt3_protocol.h
lib/util_mosq.c
set-version.sh
snap/snapcraft.yaml
src/bridge.c
src/database.c
src/handle_connack.c
src/loop.c
src/persist.c
test/broker/Makefile
7 years ago
Roger A. Light
a7d0660749
Separate out persist reading code from restoring code.
7 years ago
Roger A. Light
110f4aada6
Don't overwrite disused client state.
7 years ago
Roger A. Light
9411d94842
Start of tests for persistence reading.
7 years ago
Roger A. Light
b6356735b4
Split persist read/write into separate files for easier testing.
7 years ago
Roger A. Light
c944f840a6
Don't advertise shared subs as unavailable any more.
7 years ago
Roger A. Light
cc153cfc90
Cleanup TLS UI method on exit.
7 years ago
Roger Light
8a8d13cf96
Shared subscription support.
7 years ago
Roger A. Light
173b209bd8
Remove unnecessary calls to time().
7 years ago
Roger A. Light
89f51aa54a
Search sub topics, don't iterate (where possible).
7 years ago
Roger A. Light
5be83ec1d7
Topic matching optimisations.
7 years ago
Roger A. Light
2dd24449ad
Fix "unused parameter" warnings.
7 years ago
Roger A. Light
0941638143
Fix signed/unsigned comparion warnings.
...
Closes #1196 .
7 years ago
Roger A. Light
b82370a997
Free clients with session expiry > 0 on exit.
7 years ago
Roger A. Light
08249313a4
Don't leak sockets.
7 years ago
Roger A. Light
754ac55151
Add warning to mosquitto_pub if publish rejected.
7 years ago
Roger Light
1a234323a3
Add support for custom log timestamps.
...
Closes #1121 .
7 years ago
Roger Light
a57bba0aae
Don't use uhpa for topics, incompatible with uthash.
7 years ago
Roger A. Light
2ea97a6cd9
Check for authentication method on CONNECT, and reject.
7 years ago
Roger A. Light
ac91144495
Session expiry interval support - not working for file persistence.
7 years ago
Roger A. Light
12431d7d24
Windows installer improvements
7 years ago
Roger A. Light
cd07c2b802
Windows build fixes.
7 years ago
Roger A. Light
105ad17dc6
Tests and support for QoS 1 reporting of no subscribers on publish.
7 years ago
Roger A. Light
7b002abd7e
Sort tests.
7 years ago
Roger A. Light
7448f0cab8
Update merged tests.
7 years ago
Roger A. Light
6a1ac70ee6
Disallow writing to $ topics where appropriate.
7 years ago