Commit Graph
48 Commits
Author SHA1 Message Date
Arvin dcad2e410a Fix comments errors, it is the client that sends PING to broker actively 2022-08-24 23:28:06 +08:00
Roger A. Light 966601f6b6 Bump version, new web post 2022-08-16 13:03:44 +01:00
Roger A. Light 6468bb4f9b Fix documentation omission around mosquitto_reinitialise.
Closes #2489. Thanks to rroguski
2022-08-10 14:31:34 +01:00
Roger A. Light ba6bbd5959 Add documentation of struct mosquitto_message to header.
Closes #2561.
2022-08-08 00:01:56 +01:00
Roger A. Light b6b8039914 Fix use of MOSQ_OPT_TLS_ENGINE being unable to be used.
This was due to the openssl ctx not being initialised until starting to connect.

Closes #2537. Thanks to chessing-c4.
2022-05-17 17:19:17 +01:00
Roger A. Light 2a056f14c2 Bump version number, update web. 2021-11-17 00:26:03 +00:00
Roger A. Light 292e969140 Bump version, update web. 2021-10-27 16:40:21 +01:00
Roger A. Light 46a6c5d17b Fix mosquitto_plugin.h not including mosquitto_broker.h.
Closes #2350. Thanks to Wolfgang Petroschka.
2021-10-27 16:23:20 +01:00
Roger A. Light a1a190b482 Pointless whitespace tidy. 2021-10-05 15:20:37 +01:00
Roger A. Light 42acfdad41 Bump version, update web page. 2021-08-31 17:16:52 +01:00
Roger A. Light ea7e2a6bca Bump version, add post. 2021-06-08 22:27:07 +01:00
Roger A. Light a01dcd68a5 Document that bind_address can be NULL. 2021-05-20 10:21:05 +01:00
Roger Light c317891df1 Clarify when callbacks get called. 2021-05-18 09:38:06 +01:00
Christian Beier fe10226cc9 Fix building with Visual Studio 2008
This older Microsoft compiler does not support mixing declarations and
code and misses some error defines. This commit enables building with
VS2008 by moving up some variable declarations and defining error
codes to their WinSock counterparts in case they're not defined.

Signed-off-by: Christian Beier <info@christianbeier.net>
2021-04-18 21:23:25 +02:00
Roger A. Light ea46a8188e Add more documentation on pthread support. 2021-04-06 14:52:20 +01:00
Roger A. Light e7aa0fed2f Bump version, update web page. 2021-04-03 12:00:33 +01:00
Roger A. Light bb73eed557 Bump version number and update web pages. 2021-03-11 22:33:01 +00:00
Roger Light 83334afee8 Remove redunant function delaration. 2021-03-03 22:44:50 +00:00
Roger A. Light cec9d36445 Bump version and web pages. 2021-02-25 17:23:24 +00:00
Roger A. Light 7fe638786d Fix mosquitto_evt_tick struct members. 2021-02-06 23:54:11 +00:00
Roger A. Light c2a26250f6 Bump changelog, versions, and web pages. 2021-02-04 10:10:13 +00:00
Roger A. Light 53b7cc5fc1 Bump version number, add web post. 2021-01-28 13:26:55 +00:00
Roger A. Light a4389fc9ce Fix SPDX identifiers: EDL-1.0 -> BSD-3-Clause.
The two licenses are the same.
2021-01-20 11:46:18 +00:00
Roger A. Light ae3800ad66 Bump version number, add www post. 2021-01-11 10:37:19 +00:00
Roger A. Light d9a34fbb3a Improve documentation around the _v5() and non-v5 functions.
For example `mosquitto_publish()` and `mosquitto_publish_v5().
2021-01-11 10:05:34 +00:00
Roger A. Light 9d3732a62d Fix auth_method not being provided to the extended auth plugin event.
Closes #1975. Thanks to Jinming Chen.
2020-12-23 17:19:51 +00:00
Roger A. Light 5a565da82b Bump version number. Update changelog and web pages. 2020-12-22 16:56:07 +00:00
Roger A. Light ce30f811ba Improve API documentation.
Fix return code on callback unregister.
2020-12-22 13:54:51 +00:00
Roger A. Light 31ac9c77cb Fix typo in documentation. 2020-12-22 12:01:42 +00:00
Roger A. Light d02bc03ed8 Bump version, changelog and webpage. 2020-12-17 15:19:36 +00:00
Roger A. Light cc47eaba09 Bump version number and update webpage. 2020-12-10 23:37:57 +00:00
Roger A. Light 66b680af34 Bump version number. 2020-12-09 22:30:06 +00:00
Roger A. Light 6904fac6a4 Bump version number and changelog. 2020-12-02 20:54:13 +00:00
Roger A. Light 6fe3279436 Build fixes from Windows changes. 2020-12-02 20:38:21 +00:00
Roger A. Light 26ffe1300a Various Windows build fixes. 2020-12-02 19:49:14 +00:00
Roger A. Light 3731535298 Add SPDX license identifiers. 2020-12-01 20:46:56 +00:00
Roger A. Light 29c771cdd4 Add lib and client support for OS CA certs
- Add `MOSQ_OPT_TLS_USE_OS_CERTS` option, to instruct the client to load and  trust OS provided CA certificates for use with TLS connections.
- All clients now load OS provided CA certificates if used with `-L
  mqtts://...`, or if port is set to 8883 and no other CA certificates are
  used. Closes #1824.
- Add the `--tls-use-os-certs` option to all clients.

Closes #1824. Thanks to Jens Reimann.
2020-12-01 11:51:13 +00:00
Roger A. Light 584cf51ba7 Update to EPL-2.0 2020-11-25 17:34:21 +00:00
Roger A. Light c5fee09c24 Basic client disconnect event support for plugins. 2020-11-05 10:52:21 +00:00
Roger A. Light 95e009c429 Document what to do on non-matching plugin versions. 2020-10-24 00:17:13 +01:00
Roger A. Light 42b9d94e91 Tell plugins which plugin versions the broker supports. 2020-10-24 00:13:45 +01:00
Roger A. Light 06b933c3ba Add tick event to plugin interface. 2020-10-23 22:51:08 +01:00
Roger A. Light 4f61f6c161 Fix conversion errors. 2020-10-17 01:23:08 +01:00
Roger A. Light 267beb8a49 Export function on Windows. 2020-10-14 12:12:55 +01:00
Roger A. Light 9724710cd6 Add MOSQ_OPT_BIND_ADDRESS.
This allows setting of a bind address independently of the
`mosquitto_connect*()` call.
2020-10-14 10:31:46 +01:00
Roger A. Light be8b94189c Document that X509_free() must be called after using mosquitto_client_certificate().
Closes #1842. Thanks to Wolfgang Petroschka.
2020-10-13 10:41:08 +01:00
Roger A. Light 4472c1f441 Added support for controlling UNSUBSCRIBE calls in v5 plugin ACL checks. 2020-10-09 14:02:02 +01:00
Roger A. Light a65f946e83 Move headers to own directory. 2020-10-07 22:06:01 +01:00