Commit Graph
3043 Commits
Author SHA1 Message Date
Roger A. Light ab67dbcacd More client tests, and an output format fix. 2022-01-15 23:41:12 +00:00
Roger A. Light 3139eb3252 More client tests. 2022-01-14 23:08:09 +00:00
Roger A. Light fa9c2d0285 Fix incorrect header position. 2022-01-14 11:02:39 +00:00
Roger A. Light aa96c2d922 Check accept key with websockets clients. 2022-01-13 23:34:42 +00:00
Roger A. Light f5625f499f Client HTTP request size configurable. 2022-01-13 19:39:04 +00:00
Roger A. Light 34dc62be86 Document wildcard_temp plugin. 2022-01-11 10:21:43 +00:00
Roger A. Light a96615bd4a More client tests. 2022-01-10 23:07:26 +00:00
Roger A. Light dc906c5221 Sqlite persistence plugin. 2022-01-09 23:54:09 +00:00
Roger A. Light 0a0f4ead42 Plugin interface interface and test improvements. 2022-01-09 23:43:12 +00:00
Roger A. Light 33f2817b1e Facility for running tests under failgrind. 2022-01-05 09:15:43 +00:00
Roger A. Light d546ba461a Test fixes. 2022-01-05 09:15:02 +00:00
Roger A. Light 911cfca56f Fix missing unlikely memory checks. 2022-01-04 21:08:57 +00:00
Roger A. Light ea553619fb Basic client websockets tests. 2022-01-03 23:27:48 +00:00
Roger A. Light eefafdeff7 Fix unix socket test. 2022-01-03 23:27:24 +00:00
Roger A. Light e25cb05fc9 Command arg tests. 2022-01-03 23:05:13 +00:00
Roger A. Light 1ac099ebdd More config parse errors. 2022-01-03 23:04:48 +00:00
Roger A. Light 2d045dbc85 Fix option name. 2022-01-03 21:51:18 +00:00
Roger A. Light e4ab1cf213 Should error on empty protocol config. 2022-01-03 00:44:16 +00:00
Roger A. Light b45c7ebacd Ignore coverage file. 2022-01-03 00:44:04 +00:00
Roger A. Light 7bd9c5cce1 More config parse error tests. 2022-01-03 00:14:23 +00:00
Roger A. Light 5fab104467 Auth plugin v2, v3 testings. 2022-01-02 22:48:27 +00:00
Roger A. Light 4cd2f85e77 Unix socket connect test. 2022-01-01 22:03:17 +00:00
Roger A. Light aa7e09948b Start of config file parsing error tests. 2021-12-31 00:32:04 +00:00
Roger A. Light 249edc6ba2 include_dir test. 2021-12-30 23:21:34 +00:00
Roger A. Light 93ed5721e2 No need to set keepalive in most tests. 2021-12-30 08:35:45 +00:00
Roger A. Light 500542351d Set pointers to NULL after freeing. 2021-12-30 08:08:11 +00:00
Roger A. Light 6e8925c062 Test fix. 2021-12-30 08:05:09 +00:00
Roger A. Light 9578a38f79 Fix possible socket leak
This affects clients that connect but do not send a full CONNECT packet.
2021-12-28 14:18:25 +00:00
Roger A. Light 5b2e181c9f Example client lifetime and payload size stat plugins. 2021-12-27 22:56:21 +00:00
Roger A. Light 9cffbe0928 Basic client publish example using websockets. 2021-12-23 22:30:36 +00:00
Roger A. Light f43f136af8 Plugin for wildcard subscription blocking. 2021-12-22 12:15:39 +00:00
Roger A. Light 2fafdd2256 Don't send persist updates on shutdown. 2021-12-20 00:54:21 +00:00
Roger A. Light 01b3e04362 Rename remove to delete in external interface.
This is consistent with usage in the dynsec plugin.
2021-12-16 00:00:17 +00:00
Roger A. Light cd28187e5e Minor refactor to separate files. 2021-12-15 16:36:54 +00:00
Roger A. Light ef93886db0 Expose property functions to plugins. 2021-12-14 11:44:11 +00:00
Roger A. Light 9ce09de2e6 Add MOSQ_EVT_PERSIST_CLIENT_MSG_CLEAR plugin event. 2021-12-13 22:19:29 +00:00
Roger A. Light 3daf76257b Various persistence plugin fixes. 2021-12-13 09:57:12 +00:00
Roger A. Light 1eac7f9379 No need to free context id here.
This used to be a protection against removing from the by_id hash twice,
but there is a separate protection for that now.
2021-12-13 09:38:46 +00:00
Roger A. Light 17fd1929eb Move config load/save to own file. 2021-12-13 09:14:05 +00:00
Roger A. Light ff41157c2c Persistence interface documentation, plus better heap/non heap params
Be clear about whether the plugin or the broker owns `plugin_*` memory after function calls are made.
2021-11-25 23:05:21 +00:00
Roger A. Light 0f9e5dc65d Improve test. 2021-11-25 12:34:24 +00:00
Roger A. Light 7a6579731c Use context__add_to_by_id instead of HASH_ADD_KEYPTR 2021-11-25 12:28:02 +00:00
Roger A. Light 68fbb7b5bb auth method needs persisting. 2021-11-25 10:32:02 +00:00
Roger A. Light 0db28fe3a1 LTO default to no. 2021-11-25 10:27:52 +00:00
Roger A. Light 6d3f85cf0c Have const/non const members.
Broker to plugin must be const.
Plugin to broker may need to be non-const.
2021-11-24 23:02:46 +00:00
Roger A. Light 0f8733627a Plugin persistence interface. 2021-11-24 19:26:07 +00:00
Roger A. Light cfe078cd32 Document function. 2021-11-24 16:03:02 +00:00
Roger A. Light 2501a64035 Merge branch 'master' into develop 2021-11-23 12:53:50 +00:00
Roger A. Light 1cc82fc7e6 Protect against per_listener_settings being unset after it is set. 2021-11-18 16:57:40 +00:00
Roger A. Light b62fd2ac71 Don't report messages with only a single reference in xtreport. 2021-11-18 12:15:08 +00:00