Roger A. Light
cf7ac452b8
Fix reconnect backoff where connections are dropped
...
Closes #737 . Thanks to chelliwell.
6 years ago
Roger A. Light
982758a76e
Fix bridges potentially not connecting on Windows.
...
Closes #478 .
6 years ago
Roger A. Light
0e4d89c0a3
Guard ssize_t definition on Windows.
...
Closes #522 . Thanks to trinytron.
6 years ago
Roger A. Light
04cf0cdf2d
Fix WITH_STATIC_LIBRARIES using CMake on Windows
...
Closes #1369 . Thanks to TimmvonderMehden
6 years ago
Roger A. Light
a8492b740c
Fix missing function warnings on NetBSD.
...
Thanks to Greg Troxel.
6 years ago
Roger A. Light
98a1e51d95
Bump version number, add release post.
6 years ago
Roger A. Light
0040a79a40
Windows fix
6 years ago
Roger A. Light
d19cbb825c
Fix properties not being sent on QoS>0 PUBLISH messages.
6 years ago
Roger A. Light
c27a878e53
Fix memory leak when setting v5 properties in mosquitto_connect_v5()
6 years ago
Roger A. Light
06024700ba
Clients: improve error msgs when connecting v3.x broker with v5 client
...
Closes #1344 . Thanks to HowJMay.
6 years ago
Roger A. Light
8743f2fd00
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
36532fa411
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
4d4c5dd5a2
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
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
3f82546b4a
Fix MQTT v5 sub opts being set for v3 subs.
...
Closes #1353 . Thanks to Ben Barbour.
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
563a623b41
Bump version and web pages.
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
Roger A. Light
79bbc5d610
Suppress confusing "unknown PUBREL" message.
6 years ago
Roger A. Light
959e785c2f
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
e680b3dbf2
Fix typo causing build error on Windows when building without TLS support.
...
Thanks to TimmvonderMehden.
Closes #1264 .
6 years ago
Roger A. Light
c39d6294b5
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
b8abcba74d
Fix compilation problem related to getrandom() on non-glibc systems.
6 years ago
Roger A. Light
f169e523e1
Fix use of getrandom() for Linux and WITH_TLS=no.
6 years ago
Karl Palsson
d296bde1f6
ssl: support openssl with ENGINE support disabled.
...
Alternatively, just drop support for this config.
Signed-off-by: Karl Palsson <karlp@etactica.com>
6 years ago
Karl Palsson
2e9ad5fe4a
lib: fix missing openssl/ui.h include.
...
Signed-off-by: Karl Palsson <karlp@etactica.com>
6 years ago
Roger A. Light
0bd40a0193
Bump version numbers, update webpage.
6 years ago
Roger A. Light
fe3b73a7f0
Windows build fixes.
6 years ago
Roger A. Light
ccded567a5
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.
6 years ago
Roger A. Light
93b598d8e7
Bump version number, update webpage.
6 years ago
Roger A. Light
5bda2db5c4
Use CMAKE_INSTALL_* variables when installing in CMake.
...
Closes #1049 . Thanks to Greg Troxel.
6 years ago
Roger A. Light
9664a6b251
Don't call ldconfig in CMake scripts.
...
Closes #1048 . Thanks to Greg Troxel.
6 years ago
Roger A. Light
86ba51a33c
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.
6 years ago
Roger A. Light
a4b5ea05e3
Remove incorrect and unused memory limiting code.
6 years ago
Ken Restivo
2a1cbaf34a
Fix comment
6 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