Commit Graph

453 Commits (554502cb5f2c2cc35d92d5fc9bff0e3ff369bdee)

Author SHA1 Message Date
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
Roger A. Light 7c4947fcf7 Update changelog, improve warning message from last commit. 6 years ago
Roger A. Light d61c1118de Fix detection of incoming v3.1/v3.1.1 bridges.
Closes #1263. Thanks to vrst37.
6 years ago
Roger A. Light 0bd40a0193 Bump version numbers, update webpage. 6 years ago
Roger A. Light ee962ceda3 Fix $SYS/broker/version being incorrectly expired after 60 seconds.
Close #1245. Thanks to Christoph Krey.
6 years ago
Roger A. Light 895e209c41 Fix broker originated messages not being sent.
This occurred when `check_retain_source` was set to true.

Closes #1245. Thanks to Christoph Krey.
6 years ago
Roger A. Light 9459269a6f Fix Will message not allowing user-property properties. 6 years ago
Roger A. Light 127b6a3d91 Fix -L url parsing.
Closes #1248. Thanks to Andrew J Freyer.
6 years ago
Roger A. Light ccded567a5 Fix crash after client has been unable to connect to a broker
This is part of the cleanup routine when the client is already exiting.

Closes #1246. Thanks to Christoph Krey.
6 years ago
Roger A. Light f41cca8152 Fix access after free when v5 client with Will message disconnects.
The Will message has as its first property one of content-type,
correlation-data, payload-format-indicator, or response-topic.

Closes #1244. Thanks to Christoph Krey.
6 years ago
Roger A. Light 4e72cae004 Fix build for WITH_TLS=no.
Closes #1250. Thanks to bmparr.
6 years ago
Roger A. Light 93b598d8e7 Bump version number, update webpage. 6 years ago
Roger A. Light 5bda2db5c4 Use CMAKE_INSTALL_* variables when installing in CMake.
Closes #1049. Thanks to Greg Troxel.
6 years ago
Roger A. Light 9664a6b251 Don't call ldconfig in CMake scripts.
Closes #1048. Thanks to Greg Troxel.
6 years ago
Roger A. Light 86ba51a33c Build fixes around CFLAGS et al.
- Split CFLAGS and CPPFLAGS, and LDFLAGS and LDADD/LIBADD.
- test/unit now respects CPPFLAGS and LDFLAGS.

Closes #1232. Thanks to Greg Troxel.
6 years ago
Roger A. Light f6289e2443 Document bundled dependencies and how to disable.
Closes #1231. Thanks to Greg Troxel.
6 years ago
Roger A. Light b3ba0a7901 Add `make check` and document testing procedure.
Also support test target in cmake.
6 years ago
Roger A. Light 793cb9f649 Document `memory_limit` option. 6 years ago
Roger A. Light f22a137938 Fix compilation on musl C systems due to missing sys/time.h header.
Thanks to maxice8.
6 years ago
Roger A. Light 449103e960 Merge remote-tracking branch 'refs/remotes/origin/fixes'
Conflicts:
	ChangeLog.txt
7 years ago
Roger A. Light 56757df512 Bump version and changelog details. 7 years ago
Roger A. Light fb1979c0ea Fix build on SmartOS due to missing IPV6_V6ONLY.
Thanks to Matt Ingenthron.

Closes #1212.
7 years ago
Roger A. Light cba3380b98 Fix mosquitto_sub encoding of special characters with %j format.
Thanks to Ben Barbour.

Closes #1220.
7 years ago
Roger A. Light 4995436b5a Add --repeat and --repeat-delay to mosquitto_pub. 7 years ago
Roger A. Light dec769ce33 Client and doc ALPN additions
Add ALPN support for all clients, update documentation, and add to ChangeLog.
7 years ago
Roger A. Light 925debb8a5 Add mosquitto_rr, the "request-response" client. 7 years ago
Roger A. Light 1220ba4bfe Rejig OCSP code. 7 years ago
Roger A. Light 42732f4cca Fix mosquitto_passwd segfault on corrupt file.
Thanks to srasku-ge.

Closes #1207
7 years ago
Roger A. Light 320ddc1303 Merge branch 'master'
Conflicts:
	CMakeLists.txt
	ChangeLog.txt
	client/Makefile
	config.mk
	installer/mosquitto.nsi
	installer/mosquitto64.nsi
	lib/mosquitto.h
	lib/mqtt3_protocol.h
	lib/util_mosq.c
	set-version.sh
	snap/snapcraft.yaml
	src/bridge.c
	src/database.c
	src/handle_connack.c
	src/loop.c
	src/persist.c
	test/broker/Makefile
7 years ago
Roger A. Light a29238fc87 Update changelog. 7 years ago