Roger A. Light
c3f4ee94a2
Set *name to NULL on failure.
6 years ago
Roger A. Light
b5880f5e9a
Set sock to invalid after closing.
6 years ago
Roger A. Light
a37941647e
Pedantic test fixes from failgrind.
6 years ago
Roger A. Light
0e9b3dff5b
Don't define _GNU_SOURCE where already defined. Closes #1357 .
6 years ago
Lucas Ramage
ea2ae03378
Fix typos for READMEs in Docker directory ( #1340 )
...
* Fix typo
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
YangHau
203c0ab6d0
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>
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
ecfd90702e
Update Docker to 1.6.3
6 years ago
Roger A. Light
784647cf3d
Bump release date.
6 years ago
Roger A. Light
ad2d0fe0d5
Update changelog
6 years ago
Matevz Mihalic
f4832d8ef1
Fix plugin psk_key_get for v4
...
Signed-off-by: Matevz Mihalic <matevz.mihalic@gmail.com>
6 years ago
Roger A. Light
46720b6b2a
Add ca-certificates to snap for easier TLS use.
6 years ago
Roger A. Light
563a623b41
Bump version and web pages.
6 years ago
Roger A. Light
86dca50798
Fix build for WITH_SOCKS=no.
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
30ff022c08
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
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
Daniel d'Andrada
73fc501711
pthread_cancel() is not available on Android
...
Thus mosquitto_loop_start() and mosquitto_loop_stop()
won't be available there (and mosquitto_connect_async()
as a consequence).
Signed-off-by: Daniel d'Andrada <daniel.dandrada@esrlabs.com>
6 years ago
Daniel d'Andrada
9b711fc345
Fix #include guard in config.h
...
Signed-off-by: Daniel d'Andrada <daniel.dandrada@esrlabs.com>
6 years ago
Roger A. Light
01a6fcdd8c
Disable tests for cmake.
6 years ago
Roger A. Light
c6a4160def
Fix incoming/outgoing quota problems for QoS>0.
6 years ago
Roger A. Light
d3ed92ce14
Further attempt
6 years ago
Roger A. Light
299956e777
Attempt to fix 11-message-expiry for travis.
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
79bbc5d610
Suppress confusing "unknown PUBREL" message.
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
ee26690a09
Add SECURITY.md.
6 years ago
Roger A. Light
556eec42a9
Only add to disused if session expiry is 0.
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
32fa6ea17d
Fix test compilation.
6 years ago
Roger A. Light
4660254072
Colour internal logs for visibility.
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
7c3c422803
Mention mosquitto_broker.h in mosquitto_plugin.h.
6 years ago
Roger A. Light
732cb1c45e
Consistent ref counting inc and dec functions.
6 years ago
Roger A. Light
ebbdb27b0a
Remove old man page references.
...
Thanks to Karl Palsson.
Closes #1266 .
6 years ago