Roger A. Light
906a515704
Simplify client message properties, only one is used.
4 years ago
Roger A. Light
fb76fd66b9
Remove some unused struct members.
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
fecf550cad
Fix test.
5 years ago
Roger A. Light
706a1f3f29
Fix more minor compiler warnings.
5 years ago
Roger A. Light
fdd624cec4
Fix tests now uhpa has been removed.
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 Light
58aa41c813
Optimise use of db__message_write()
...
New messages are now queued for clients when old ones are sent, rather than on every iteration of the main loop. This produces good performance improvements.
5 years ago
Roger A. Light
b5be4fb4af
Fix test
5 years ago
Roger A. Light
6deb417804
Simplify db__message_store() interface.
5 years ago
Roger Light
d92360dd8e
Split sub and retain trees.
6 years ago
Roger A. Light
e43a278652
Fix test compilation.
6 years ago
Roger A. Light
f64d3b1e5c
Fix broker originated messages not being sent.
...
This occurred when `check_retain_source` was set to true.
Closes #1245 . Thanks to Christoph Krey.
7 years ago
Roger A. Light
8531cb1d79
Separate broker message queues into in/out.
...
This allows and includes better flow control handling for QoS>0.
7 years ago
Roger A. Light
2f15a7be2b
Add subscription-identifier and options to persistence.
7 years ago
Roger A. Light
9411d94842
Start of tests for persistence reading.
7 years ago