Roger Light
2f8573b456
Add property helper functions.
...
mosquitto_property_identifier()
mosquitto_property_identifier_to_string()
mosquitto_property_next()
6 years ago
Roger Light
a65aef9232
Null terminate binary data reading.
6 years ago
Roger A. Light
b660283e64
Basic MQTT v5 support for bridges.
...
This gives equivalent behaviour as for v3.1.1/v3.1 bridges, there is no extra functionality yet.
6 years ago
Roger A. Light
499e2f2e98
Add support for unix sockets to broker, lib, and clients.
6 years ago
Roger A. Light
8463c33720
Refactor property remaining length calculation.
6 years ago
Roger A. Light
54ed3c0fc9
Merge branch 'master' into develop
6 years ago
Roger A. Light
6a01453ce0
Build fixes.
6 years ago
Roger A. Light
b7d8eb1122
Bump version number. Update www.
6 years ago
Roger A. Light
1a8c44b84f
Fix regression on use of `mosquitto_connect_async()` not working.
...
Closes #1415 and #1422 . Thanks to Karl Palsson, Till Zimmermann and Liam Fry.
6 years ago
Roger A. Light
4b6cc208e2
Fix inflight max behaviour and option setting.
6 years ago
Roger A. Light
da5ff1746c
Don't use `/` in auto client ids.
...
Also update client documentation about automatic client ids.
6 years ago
Roger A. Light
9883652dde
Bump version, update www and changelog.
6 years ago
Roger A. Light
1066750931
Restrict topic hierarchy to 200 levels to prevent possible stack overflow.
...
Closes #1412 . Thanks to Ryan Shaw.
6 years ago
Roger A. Light
344bbd087c
Install mqtt_protocol.h
6 years ago
Roger A. Light
6e2be25881
Bump version numbers, add release info.
6 years ago
Roger A. Light
808bbedb6a
Possible fix for #1385 .
6 years ago
Roger A. Light
ee3591d228
Fix missing locks on `mosq->state`.
...
Closes #1374 . Thanks to Jeff Trull.
6 years ago
Roger A. Light
ba918ac73e
Fix reconnect backoff where connections are dropped
...
Closes #737 . Thanks to chelliwell.
6 years ago
Roger A. Light
412379b03b
Fix bridges potentially not connecting on Windows.
...
Closes #478 .
6 years ago
Roger A. Light
76865707b2
Guard ssize_t definition on Windows.
...
Closes #522 . Thanks to trinytron.
6 years ago
Roger A. Light
ff676811d3
Client no longer generates random client ids for v3.1.1 clients
...
These are now expected to be generated on the broker. This matches the
behaviour for v5 clients.
Closes #291 .
6 years ago
Roger A. Light
c1e488cb88
Add timeout return code (27) for sub/rr using -W.
...
Closes #275 .
6 years ago
Roger A. Light
a0e7165a9c
Fix WITH_STATIC_LIBRARIES using CMake on Windows
...
Closes #1369 . Thanks to TimmvonderMehden
6 years ago
Roger A. Light
494d3d29a0
Fix missing function warnings on NetBSD.
...
Thanks to Greg Troxel.
6 years ago
Roger A. Light
ce3e33e890
Bump version number, add release post.
6 years ago
Roger A. Light
d8f6215569
Windows fix
6 years ago
Roger A. Light
64c6d4d962
Fix properties not being sent on QoS>0 PUBLISH messages.
6 years ago
Roger A. Light
4253eca81c
Fix memory leak when setting v5 properties in mosquitto_connect_v5()
6 years ago
Roger A. Light
a22ccbd884
Clients: improve error msgs when connecting v3.x broker with v5 client
...
Closes #1344 . Thanks to HowJMay.
6 years ago
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.
6 years ago
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.
6 years ago
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.
6 years ago
Roger A. Light
c32715d383
Set *name to NULL on failure.
6 years ago
Roger A. Light
46d12086c9
Set sock to invalid after closing.
6 years ago
Roger A. Light
3ad780839d
Fix MQTT v5 sub opts being set for v3 subs.
...
Closes #1353 . Thanks to Ben Barbour.
6 years ago
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 .
6 years ago
Roger Light
be09731e4a
Merge pull request #1308 from dandrader/no-pthread_cancel-on-android
...
No pthread_cancel() on Android
6 years ago
Roger A. Light
1d6aa9f69c
Bump version and web pages.
6 years ago
Daniel d'Andrada
0970451762
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
Roger A. Light
908d1be6e0
Suppress confusing "unknown PUBREL" message.
6 years ago
Roger Light
44d170053d
Merge pull request #1255 from etactica/ssl-fixes
...
Ssl fixes for ENGINE and UI includes
6 years ago
Roger A. Light
b4dfeb3767
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
3f8f4fc2c8
Fix typo causing build error on Windows when building without TLS support.
...
Thanks to TimmvonderMehden.
Closes #1264 .
6 years ago
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 .
6 years ago
Roger A. Light
d05bd95881
Fix compilation problem related to getrandom() on non-glibc systems.
6 years ago
Roger A. Light
b1298dff54
Fix use of getrandom() for Linux and WITH_TLS=no.
6 years ago
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>
7 years ago
Karl Palsson
0928797e57
lib: fix missing openssl/ui.h include.
...
Signed-off-by: Karl Palsson <karlp@etactica.com>
7 years ago
Roger A. Light
0e58a5e94e
Bump version numbers, update webpage.
7 years ago
Roger A. Light
b6dc98215a
Windows build fixes.
7 years ago