Roger Light
4f3b4f8d44
Merge pull request #1377 from dlangille/patch-1
...
$HOME/.config/mosquitto_sub or pub?
2019-08-17 10:49:27 +01:00
Roger Light
4912ac2764
Merge pull request #1382 from HowJMay/useless_if
...
Remove useless if statement
2019-08-17 10:10:23 +01:00
YangHau
abfdc2f8a6
Remove useless if statement
...
If statement for detecting if a pointer is NULL
is totally unnecessary.
Signed-off-by: YangHau <vulxj0j8j8@gmail.com>
2019-08-16 02:04:52 +08:00
Dan Langille
c169ad6abb
$HOME/.config/mosquitto_sub or pub?
...
Should $HOME/.config/mosquitto_sub be $HOME/.config/mosquitto_pub? It seems to be that way based on my testing.
I think this is a copy/paste error.
2019-08-12 18:46:45 -04:00
Roger A. Light
be07c842d1
Don't error trying to cleanup missing persistence file.
2019-08-07 11:32:26 +01:00
Roger A. Light
a0e7165a9c
Fix WITH_STATIC_LIBRARIES using CMake on Windows
...
Closes #1369 . Thanks to TimmvonderMehden
2019-08-06 12:01:29 +01:00
Roger A. Light
50695f8103
Fix v5 DISCONNECT packets with remaining length == 2.
...
These were being treated as a protocol error.
Closes #1367 . Thanks to Frank Pagliughi.
2019-08-05 21:13:23 +01:00
Roger A. Light
494d3d29a0
Fix missing function warnings on NetBSD.
...
Thanks to Greg Troxel.
2019-08-04 23:00:26 +01:00
Roger A. Light
a5cd27a68e
Update Docker image to 1.6.4.
2019-08-01 21:59:23 +01:00
Roger A. Light
95bf4a2714
Merge branch 'fixes'
2019-08-01 20:47:10 +01:00
Roger A. Light
ce3e33e890
Bump version number, add release post.
2019-08-01 20:46:50 +01:00
Roger A. Light
d8f6215569
Windows fix
2019-08-01 20:46:23 +01:00
Roger A. Light
64c6d4d962
Fix properties not being sent on QoS>0 PUBLISH messages.
2019-08-01 15:47:48 +01:00
Roger A. Light
4253eca81c
Fix memory leak when setting v5 properties in mosquitto_connect_v5()
2019-08-01 14:49:19 +01:00
Roger Light
b4ed99ceaa
Merge pull request #1365 from HowJMay/remove_free
...
feat: Remove unecessary if statement
2019-08-01 14:02:43 +01:00
YangHau
b2aed5cb7e
feat: Remove unecessary if statement
...
free() would take no action if the arguement is a NULL pointer.
Therefore, the if statement is totally unnecessary.
See ISO-IEC 9899
Signed-off-by: YangHau <vulxj0j8j8@gmail.com>
2019-08-01 19:28:39 +08:00
Roger A. Light
a22ccbd884
Clients: improve error msgs when connecting v3.x broker with v5 client
...
Closes #1344 . Thanks to HowJMay.
2019-08-01 11:40:55 +01:00
Roger A. Light
d6e4534e5e
Fix location of readme-windows.txt
...
Closes #1361 . Thanks to Duck Development.
2019-08-01 10:34:56 +01:00
Roger A. Light
b9006487d1
Fix link in CONTRIBUTING.md.
...
Closes #1362 . Thanks to Furkan Aksoy.
2019-08-01 10:30:13 +01:00
Roger Light
07d2504bf5
Merge pull request #1254 from ccvca/fix_passwd_len
...
Fix password input when MAX_BUFFER_LEN is not 1024 in mosquitto_passwd.c
2019-08-01 10:18:34 +01:00
Roger Light
1079a1b697
Merge pull request #1342 from HowJMay/remove_redundant_reset
...
Remove redundant initialization in clients
2019-08-01 09:59:52 +01:00
Roger Light
f84b5ecf86
Merge pull request #1363 from helgeblod/master
...
docs: Fix typo on man-page for mosquitto.conf
2019-08-01 09:55:30 +01:00
Jonas Helgemo
1001569fa3
docs: Fix typo on man-page for mosquitto.conf
...
- man-page has a typo in the 'bridge_capath' section under SSL/TLS support
Signed-off-by: Jonas Helgemo <jhel@pm.me>
2019-08-01 10:40:25 +02:00
Roger A. Light
efc8ed39af
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.
2019-07-31 18:52:51 +01:00
Roger A. Light
b3f3513b35
Index update.
2019-07-31 12:06:14 +01:00
Roger A. Light
696a9b8019
Fix incomgin QoS 2 with max_inflight_messages set to 1.
...
Closes #1332 . Thanks to xmas79.
2019-07-30 23:25:12 +01:00
Roger A. Light
f21ccc362b
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.
2019-07-30 18:46:52 +01:00
Roger A. Light
42237c0239
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.
2019-07-30 18:42:31 +01:00
Roger A. Light
c32715d383
Set *name to NULL on failure.
2019-07-30 15:09:53 +01:00
Roger A. Light
46d12086c9
Set sock to invalid after closing.
2019-07-30 15:06:55 +01:00
Roger A. Light
552059e17d
Pedantic test fixes from failgrind.
2019-07-30 15:01:12 +01:00
Roger A. Light
e3271e0c99
Don't define _GNU_SOURCE where already defined. Closes #1357 .
2019-07-25 21:08:00 +01:00
Lucas Ramage
b9bd0bedad
Fix typos for READMEs in Docker directory ( #1340 )
...
* Fix typo
2019-07-25 17:34:33 +01:00
Roger A. Light
b807daed28
Fix error codes not being returned when mosquitto_pub exits.
...
Closes #1354 . Thanks to Ben Barbour.
2019-07-24 12:08:43 +01:00
Roger A. Light
3ad780839d
Fix MQTT v5 sub opts being set for v3 subs.
...
Closes #1353 . Thanks to Ben Barbour.
2019-07-24 11:25:46 +01:00
YangHau
9bb9b6e721
Remove redundant initialization in clients
...
the `memset(&cfg, 0, sizeof(struct mosq_config));` already exsits in
`client_config_load()`'s `init_config()` function call.
So calling it in main function is totally unnecessary.
Signed-off-by: YangHau <vulxj0j8j8@gmail.com>
2019-07-12 16:53:29 +08:00
Roger Light
2b2afc93bc
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 .
2019-07-03 11:56:46 +01:00
Roger A. Light
d17d7c9229
Fix persistent clients being incorrectly expired on Raspberry Pis.
...
Closes #1272 . Thanks to BowenMarmot and addendumE.
2019-06-25 17:01:41 +01:00
Roger A. Light
a5620d9d55
Update Docker to 1.6.3
2019-06-18 14:35:40 +01:00
Roger A. Light
be73f79200
Merge branch 'fixes'
2019-06-18 12:45:08 +01:00
Roger A. Light
4f32e94104
Bump release date.
2019-06-18 12:44:37 +01:00
Roger Light
be09731e4a
Merge pull request #1308 from dandrader/no-pthread_cancel-on-android
...
No pthread_cancel() on Android
2019-06-18 12:39:14 +01:00
Roger A. Light
e642bee336
Update changelog
2019-06-18 11:21:15 +01:00
Roger Light
5417467426
Merge pull request #1313 from matevzmihalic/fix-plugin-psk-v4
...
Fix plugin psk_key_get for v4
2019-06-18 10:46:06 +01:00
Matevz Mihalic
0a5fbc403b
Fix plugin psk_key_get for v4
...
Signed-off-by: Matevz Mihalic <matevz.mihalic@gmail.com>
2019-06-17 13:00:27 +02:00
Roger A. Light
7a581ab64f
Add ca-certificates to snap for easier TLS use.
2019-06-14 08:51:29 +01:00
Roger A. Light
1d6aa9f69c
Bump version and web pages.
2019-06-13 16:28:09 +01:00
Roger A. Light
af7760f1b6
Fix build for WITH_SOCKS=no.
2019-06-13 16:23:55 +01:00
Roger Light
5d64678331
Merge pull request #1304 from dandrader/fixConfigHIncludeGuard
...
Fix #include guard in config.h
2019-06-13 14:31:21 +01:00
Roger A. Light
c685b7ecf4
Fix mosquitto_pub -l
not handling zero length input.
...
Closes #1302 . Thanks to Marcus Watkins.
2019-06-06 23:21:07 +01:00