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
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.
7 years ago
Roger A. Light
35793ca1c4
Bump version number, update webpage.
7 years ago
Roger A. Light
439575475c
Use CMAKE_INSTALL_* variables when installing in CMake.
...
Closes #1049 . Thanks to Greg Troxel.
7 years ago
Roger A. Light
efa649f451
Don't call ldconfig in CMake scripts.
...
Closes #1048 . Thanks to Greg Troxel.
7 years ago
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.
7 years ago
Roger A. Light
0ebf9e4469
Remove incorrect and unused memory limiting code.
7 years ago
Roger Light
a53a727b2b
Merge pull request #1234 from krestivo-kdinfotech/fixes
...
Fix comment for option values
7 years ago
Ken Restivo
c52d4994cd
Fix comment
7 years ago
Roger A. Light
4dcd977932
Windows build fixes.
7 years ago
Roger A. Light
947218c975
Fix build when external utlist not available.
7 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
3e6cb42a40
Fix minor Coverity issues
...
1400727 - unused value
1400726 - dereference after null check
1400728 - derefence before null check
7 years ago
Roger A. Light
689989cc56
Fix inflight quota inc/dec for both broker and library.
7 years ago
Roger A. Light
9372f425b9
Remove debug statements.
7 years ago
Roger A. Light
f42a72b46b
Deprecation warnings for C++ wrapper.
7 years ago
Roger A. Light
6438ce861e
Minor build variant fixes.
7 years ago
Roger A. Light
8531cb1d79
Separate broker message queues into in/out.
...
This allows and includes better flow control handling for QoS>0.
7 years ago
Roger A. Light
baf1909ffb
Improve some messages when client disconnects.
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
f041cb484a
No need to support versions that aren't supported by upstream.
7 years ago
Roger Light
77aaec686e
Merge pull request #1224 from omenlabs/ALPN
...
Bridge TLS Application-Layer Protocol Negotiation
7 years ago
John Hickey
c011be62a4
Bridge TLS Application-Layer Protocol Negotiation
...
In order to connect to brokers that support both websockets and
mqtt on the same port (such as Amazon IoT), we need to set an
application for the SSL context. This change allows the specification
of an application by using the `bridge_alpn` configuration token.
Signed-off-by: John Hickey <jjh-github@daedalian.us>
7 years ago
Roger A. Light
4fad9aaf24
Consistent message formats.
7 years ago
Roger A. Light
2e7dcee342
Multistep auth, plus reauth, plus tests.
7 years ago
Roger A. Light
a29a7dadc6
Basic plugin support for single step extended auth.
7 years ago
Roger A. Light
da84b9a983
Restrict what packets are allowed in what client state.
7 years ago
Roger A. Light
fb8a2baaad
Refactor client msgs to use utlist to reduce code complexity.
7 years ago