Commit Graph

482 Commits (0a8d5d6db00c0deca0472a60970298490dd20b27)

Author SHA1 Message Date
Roger A. Light 0a8d5d6db0 Fix slow websockets performance when sending large messages.
Closes #1390. Thanks to aalibasic.
6 years ago
Roger A. Light 701c1a9069 Fix support for libwebsockets 3.x. 6 years ago
Roger A. Light 04cf0cdf2d Fix WITH_STATIC_LIBRARIES using CMake on Windows
Closes #1369. Thanks to TimmvonderMehden
6 years ago
Roger A. Light a415d415c5 Fix v5 DISCONNECT packets with remaining length == 2.
These were being treated as a protocol error.

Closes #1367. Thanks to Frank Pagliughi.
6 years ago
Roger A. Light a8492b740c Fix missing function warnings on NetBSD.
Thanks to Greg Troxel.
6 years ago
Roger A. Light 98a1e51d95 Bump version number, add release post. 6 years ago
Roger A. Light d19cbb825c Fix properties not being sent on QoS>0 PUBLISH messages. 6 years ago
Roger A. Light c27a878e53 Fix memory leak when setting v5 properties in mosquitto_connect_v5() 6 years ago
Roger A. Light 06024700ba Clients: improve error msgs when connecting v3.x broker with v5 client
Closes #1344. Thanks to HowJMay.
6 years ago
Roger A. Light abad21a345 Fix link in CONTRIBUTING.md.
Closes #1362. Thanks to Furkan Aksoy.
6 years ago
Roger A. Light 8743f2fd00 Fix incoming msgs not being removed when there are no subs
Fix incoming messages not being removed for a client if the topic being
published to does not have any subscribers.

Closes #1322. Thanks to Yannic Schröder.
6 years ago
Roger A. Light 0c0d8b8342 Fix incomgin QoS 2 with max_inflight_messages set to 1.
Closes #1332. Thanks to xmas79.
6 years ago
Roger A. Light 36532fa411 Fix mosquitto_string_option(, MOSQ_OPT_TLS_KEYFORM, ) return value
`mosquitto_string_option(mosq, MOSQ_OPT_TLS_KEYFORM, ...)` was incorrectly
returning `MOSQ_ERR_INVAL` with valid input. This has been fixed.

Closes #1360. Thanks to Michael Dombrowski.
6 years ago
Roger A. Light 4d4c5dd5a2 Make behaviour of `mosquitto_connect[_async]()` consistent.
`mosquitto_connect_async()` is now consistent with `mosquitto_connect()`
when connecting to a non-existent server.

Closes #1345. Thanks to Mohammad Reza.
6 years ago
Roger A. Light a4d422108e Fix error codes not being returned when mosquitto_pub exits.
Closes #1354. Thanks to Ben Barbour.
6 years ago
Roger A. Light 3f82546b4a Fix MQTT v5 sub opts being set for v3 subs.
Closes #1353. Thanks to Ben Barbour.
6 years ago
Roger Light 8c1d380b4e Allow other apps access to log file on Windows.
This change means that users with the appropriate security permissions
can open the log file for reading at the same time that it is being
written.

Closes #515.
6 years ago
Roger A. Light 8abcfafa29 Fix persistent clients being incorrectly expired on Raspberry Pis.
Closes #1272. Thanks to BowenMarmot and addendumE.
6 years ago
Roger A. Light 784647cf3d Bump release date. 6 years ago
Roger A. Light ad2d0fe0d5 Update changelog 6 years ago
Roger A. Light 563a623b41 Bump version and web pages. 6 years ago
Roger A. Light 6d8f9781a8 Fix `mosquitto_pub -l` not handling zero length input.
Closes #1302. Thanks to Marcus Watkins.
6 years ago
Roger A. Light e4cd0cfcf5 Remove obsolete `store_clean_interval` from documentation. 6 years ago
Roger A. Light cadf96e13f Fix incorrect shared subscription topic of '$shared.' 6 years ago
Roger A. Light 2a25356bb5 CLIENT_LDFLAGS now uses LDFLAGS.
Closes #1294. Thanks to Lucas Ramage.
6 years ago
Roger A. Light dc7e4170ee Remove old man page references.
Thanks to Karl Palsson.

Closes #1266.
6 years ago
Roger A. Light 2e3763fc60 Improve documentation around the upgrading of persistence files.
Thanks to jsaak.

Closes #1276.
6 years ago
Roger A. Light 7e1e933bcc Fix typo causing build error on Windows when building without TLS support.
Thanks to TimmvonderMehden.

Closes #1264.
6 years ago
Roger A. Light 3b5979db2b Fix mosquitto_pub exiting with error code 0 when an error occurred.
Thanks to janniswarnat.

Closes #1285.
6 years ago
Roger A. Light 554502cb5f Stop some error messages being printed even when `--quiet` was used.
Thanks to Rob de Jonge.

Closes #1284.
6 years ago
Roger A. Light c6a4160def Fix incoming/outgoing quota problems for QoS>0. 6 years ago
Roger A. Light 8153eb9f0d Fix `mosquitto_pub -l` not handling network failures.
Closes #1152. Thanks to Dustin Sallings.
6 years ago
Roger A. Light a4243ee919 Fix double free on exit in mosquitto_pub.
Closes #1280. Thanks to Lucky Saini.
6 years ago
Roger A. Light df270e3b20 Fix MQTT v5 overlapping subscription behaviour.
Clients now receive message from all matching subscriptions rather than
the first one encountered, which ensures the maximum QoS requirement is
met.
6 years ago
Roger A. Light 0545614f80 Fix zero length client ids being rejected for MQTT v5 clients.
This was happening when clean start was set to true.
6 years ago
Roger A. Light bb7e6534e3 Fix incorrect shared subscription topic of '$shared.' 6 years ago
Roger A. Light 1ddc0c9188 CLIENT_LDFLAGS now uses LDFLAGS.
Closes #1294. Thanks to Lucas Ramage.
6 years ago
Roger A. Light e87ac5a79c Disable TLS renegotiation.
Client initiated renegotiation is considered to be a potential attack
vector against servers.

Closes #1257. Thanks to Daniele Sluijters.
6 years ago
Roger A. Light 3f81f874de Fix persistent Websockets clients not receiving messages.
This occurs after they reconnect, having sent DISCONNECT
on a previous session.

Closes #1227. Thanks to usernametaken.
6 years ago
Roger A. Light fce996ae63 Add 'extern "C"' on public headers.
mosquitto_broker.h and mosquitto_plugin.h

Thanks to Wolfgang Petroschka.

Closes #1290.
6 years ago
Roger A. Light ebbdb27b0a Remove old man page references.
Thanks to Karl Palsson.

Closes #1266.
6 years ago
Roger A. Light 959e785c2f Fix MQTT v5 clients not being able to specify a password without a username.
Thanks to Erik Moqvist.

Closes #1274.
6 years ago
Roger A. Light 2b794993d7 Improve documentation around the upgrading of persistence files.
Thanks to jsaak.

Closes #1276.
6 years ago
Roger A. Light e680b3dbf2 Fix typo causing build error on Windows when building without TLS support.
Thanks to TimmvonderMehden.

Closes #1264.
6 years ago
Roger A. Light c39d6294b5 Fixes for bug #1273
* Fix Will message for a persistent client incorrectly being sent when the client reconnects after a clean disconnect.
* Fix Will message for a persistent client not being sent on disconnect.
* Fix mosquitto_pub not using the `-c` option.

Thanks to Yannic Schröder.

Closes #1273.
6 years ago
Roger A. Light 77afc86412 Fix mosquitto_pub exiting with error code 0 when an error occurred.
Thanks to janniswarnat.

Closes #1285.
6 years ago
Roger A. Light 5b6a806e26 Stop some error messages being printed even when `--quiet` was used.
Thanks to Rob de Jonge.

Closes #1284.
6 years ago
Roger A. Light b8abcba74d Fix compilation problem related to getrandom() on non-glibc systems. 6 years ago
Roger A. Light f169e523e1 Fix use of getrandom() for Linux and WITH_TLS=no. 6 years ago
Roger A. Light 2e29ed2c8d Fix default max_topic_alias listener config not being used.
This was not being copied to the in-use listener when compiled without
TLS support.
6 years ago