Roger A. Light
3634f18bc9
Refactor subscription structs
3 years ago
Roger A. Light
86ec8c6169
Factor out unneeded argument
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
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
fd68bf00c7
Merge branch 'master' into develop
3 years ago
Roger A. Light
3e1cf8a80b
Fix tests build.
3 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
0f8733627a
Plugin persistence interface.
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
a73806acd4
App build fix.
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 A. Light
4ee03f21e3
Guard against missing UNUSED.
5 years ago
Roger Light
2de8c15bc9
Minor build fixes.
5 years ago
Roger A. Light
706a1f3f29
Fix more minor compiler warnings.
5 years ago
Roger A. Light
fabdfcc060
Further fix for large packets not being sent in a timely fashion.
5 years ago
Roger Light
c604cf8fd0
net__write buf should be const.
5 years ago
Roger A. Light
b2da540c64
Fix large packets not being completely published to slow clients.
...
Also fix bridge connection not relinquishing POLLOUT after messages are
sent.
Closes #1977 . Thanks to marchaesen.
Closes #1979 . Thanks to GorazdKikelj.
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
108b23ce6d
Reduce use of mosquitto_time() and time().
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