Roger A. Light
3dd8eb722b
Colour internal logs for visibility.
2019-05-28 22:00:11 +01:00
Roger A. Light
00eee59ad9
Add 'extern "C"' on public headers.
...
mosquitto_broker.h and mosquitto_plugin.h
Thanks to Wolfgang Petroschka.
Closes #1290 .
2019-05-23 11:03:09 +01:00
Roger A. Light
a900e3a1a7
Mention mosquitto_broker.h in mosquitto_plugin.h.
2019-05-22 16:49:04 +01:00
Roger A. Light
f974b91084
Consistent ref counting inc and dec functions.
2019-05-22 13:20:45 +01:00
Roger A. Light
bd34d8c9cd
Remove old man page references.
...
Thanks to Karl Palsson.
Closes #1266 .
2019-05-22 09:45:02 +01:00
Roger A. Light
b4dfeb3767
Fix MQTT v5 clients not being able to specify a password without a username.
...
Thanks to Erik Moqvist.
Closes #1274 .
2019-05-21 23:56:22 +01:00
Roger A. Light
46d5aa9682
Improve documentation around the upgrading of persistence files.
...
Thanks to jsaak.
Closes #1276 .
2019-05-21 18:50:05 +01:00
Roger A. Light
3f8f4fc2c8
Fix typo causing build error on Windows when building without TLS support.
...
Thanks to TimmvonderMehden.
Closes #1264 .
2019-05-21 18:42:22 +01:00
Roger A. Light
999c478c88
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 .
2019-05-21 17:08:52 +01:00
Roger A. Light
29cf965b4f
Fix mosquitto_pub exiting with error code 0 when an error occurred.
...
Thanks to janniswarnat.
Closes #1285 .
2019-05-21 11:39:19 +01:00
Roger A. Light
7a33a129d6
Stop some error messages being printed even when --quiet
was used.
...
Thanks to Rob de Jonge.
Closes #1284 .
2019-05-21 11:23:00 +01:00
Roger A. Light
d05bd95881
Fix compilation problem related to getrandom() on non-glibc systems.
2019-05-16 22:12:18 +01:00
Roger A. Light
b1298dff54
Fix use of getrandom() for Linux and WITH_TLS=no.
2019-05-16 15:03:40 +01:00
Roger A. Light
ef3e52d40b
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.
2019-05-16 14:03:39 +01:00
Roger A. Light
41cb9bf750
Simplify ping checking in tests.
2019-05-13 21:17:04 +01:00
Roger A. Light
a47da31679
Update changelog, improve warning message from last commit.
2019-05-10 07:25:49 +01:00
Roger Light
c411b737f6
Merge pull request #1268 from tillz/fix_client_nullptr
...
Fixed Segmentation Fault / NULLptr dereference
2019-05-10 07:24:04 +01:00
Till Zimmermann
8518d08ff3
Fixed Segmentation Fault / NULLptr dereference
...
Signed-off-by: Till Zimmermann <tzimmermann@uni-osnabrueck.de>
2019-05-09 13:08:19 +02:00
Roger A. Light
cd3877e628
Fix detection of incoming v3.1/v3.1.1 bridges.
...
Closes #1263 . Thanks to vrst37.
2019-05-08 11:53:51 +01:00
Karl Palsson
22303848e2
ssl: support openssl with ENGINE support disabled.
...
Alternatively, just drop support for this config.
Signed-off-by: Karl Palsson <karlp@etactica.com>
2019-05-02 16:44:14 +00:00
Karl Palsson
0928797e57
lib: fix missing openssl/ui.h include.
...
Signed-off-by: Karl Palsson <karlp@etactica.com>
2019-05-02 16:44:01 +00:00
Roger A. Light
9470cd8c68
Make target for building a docker image based on working dir files.
2019-05-02 09:44:02 +01:00
Christian von Arnim
324ed6be76
Fix password input when MAX_BUFFER_LEN is not 1024 in mosquitto_passwd.c
...
Signed-off-by: Christian von Arnim <christian.vonarnim@gmail.com>
2019-05-01 09:56:55 +02:00
Roger A. Light
995f90dbaf
Update dockerfile for 1.6.2.
2019-04-30 14:53:46 +01:00
Roger A. Light
f825d4bb5e
Merge branch 'fixes'
2019-04-30 14:33:51 +01:00
Roger A. Light
0e58a5e94e
Bump version numbers, update webpage.
2019-04-30 14:33:32 +01:00
Roger A. Light
b6dc98215a
Windows build fixes.
2019-04-30 14:33:18 +01:00
Roger A. Light
e742c1c2f1
Fix $SYS/broker/version being incorrectly expired after 60 seconds.
...
Close #1245 . Thanks to Christoph Krey.
2019-04-30 13:25:56 +01:00
Roger A. Light
f64d3b1e5c
Fix broker originated messages not being sent.
...
This occurred when `check_retain_source` was set to true.
Closes #1245 . Thanks to Christoph Krey.
2019-04-30 13:25:54 +01:00
Roger A. Light
ab77b5c000
Test for Will property usage.
2019-04-30 13:25:32 +01:00
Roger A. Light
a9f17cea95
Fix Will message not allowing user-property properties.
2019-04-30 13:25:27 +01:00
Roger A. Light
203949a512
Fix -L url parsing.
...
Closes #1248 . Thanks to Andrew J Freyer.
2019-04-30 13:24:33 +01:00
Roger A. Light
dc4b823f92
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.
2019-04-30 13:23:25 +01:00
Roger A. Light
eebdbc86c4
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.
2019-04-30 13:21:05 +01:00
Roger A. Light
42fb2f5538
Fix build for WITH_TLS=no.
...
Closes #1250 . Thanks to bmparr.
2019-04-29 22:56:22 +01:00
Roger A. Light
d526433800
Update Docker image for 1.6.1.
2019-04-26 22:05:26 +01:00
Roger A. Light
25329f5e87
Merge branch 'fixes'
2019-04-26 17:07:21 +01:00
Roger A. Light
35793ca1c4
Bump version number, update webpage.
2019-04-26 17:07:09 +01:00
Roger A. Light
439575475c
Use CMAKE_INSTALL_* variables when installing in CMake.
...
Closes #1049 . Thanks to Greg Troxel.
2019-04-26 17:07:05 +01:00
Roger A. Light
efa649f451
Don't call ldconfig in CMake scripts.
...
Closes #1048 . Thanks to Greg Troxel.
2019-04-26 17:07:02 +01:00
Roger A. Light
b649c972eb
Document notifications better. Closes #1188 .
2019-04-26 17:06:59 +01:00
Roger A. Light
3b4a5419c3
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.
2019-04-26 17:06:54 +01:00
Roger A. Light
0d01e212ad
Document bundled dependencies and how to disable.
...
Closes #1231 . Thanks to Greg Troxel.
2019-04-26 16:25:43 +01:00
Roger A. Light
d6c7923d16
Add make check
and document testing procedure.
...
Also support test target in cmake.
2019-04-26 16:25:35 +01:00
Roger A. Light
2c0d6e3304
Fix rr description.
2019-04-26 12:25:30 +01:00
Roger A. Light
a9cb78d980
Order options in example mosquitto.conf.
2019-04-26 12:03:15 +01:00
Roger A. Light
27b8bcf320
Document memory_limit
option.
2019-04-26 11:48:29 +01:00
Roger A. Light
0ebf9e4469
Remove incorrect and unused memory limiting code.
2019-04-26 11:31:59 +01:00
Roger A. Light
2c1ce45e9d
Website update
...
New eclipse logo
Stickers no longer available due to Moo API going.
Fix manpage generation.
Add rr manpage
Update version support on index.
2019-04-25 22:54:21 +01:00
Roger A. Light
5c0c830229
Fix compilation on musl C systems due to missing sys/time.h header.
...
Thanks to maxice8.
2019-04-25 21:22:51 +01:00