Roger A. Light
c79d48c0c3
JOSS paper.
2017-05-17 14:56:28 +01:00
Roger A. Light
ca8a507607
[446] Don't segfault on duplicate bridge names.
...
Thanks to Tifaifai Maupiti.
Bug: https://github.com/eclipse/mosquitto/issues/446
2017-05-12 22:29:54 +01:00
Roger A. Light
a421d40d42
Update changelog.
2017-05-05 22:50:21 +01:00
Jelle van der Waa
ab266e7f5f
lib: fix OpenSSL 1.1 deprecation warning for ERR_remove_state
...
ERR_remove_state has been marked deprecated in OpenSSL 1.1.0 and do
nothing, as the OpenSSL libraries now normally do all thread
initialization and deinitialisation automatically.
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2017-05-05 22:49:05 +01:00
Roger A. Light
b92ffec74e
Fix documentation type WITH_DNS_SRV.
2017-05-05 22:45:13 +01:00
Roger A. Light
7c0e8fde81
Update changelog.
2017-05-05 22:30:08 +01:00
Fabrice Fontaine
439f39b5da
Remove -lanl when WITH_ADNS is unset
...
Do not add -lanl to BROKER_LIBS for all Linux builds.
Indeed, -lanl is only needed for getaddrinfo_a which is only used in
_mosquitto_try_connect_step1 when WITH_ADNS is set
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2017-05-05 22:28:56 +01:00
Roger A. Light
623f082615
Fix typo in readme.
...
Thanks to Ali Utku Selen.
2017-05-05 22:14:46 +01:00
Roger A. Light
5115c84501
Update changelog.
2017-05-05 22:12:00 +01:00
Riccardo Magliocchetti
059ba5f00b
Fix use of unitialized memory in gets_quiet
...
Spotted by cppcheck
Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2017-05-05 22:10:25 +01:00
Roger A. Light
3c8581a3ea
Update changelog.
2017-05-05 22:09:29 +01:00
YuLun Shih
97572610c0
Fix bridge->restart_t won't be reset
...
Signed-off-by: YuLun Shih <shih@yulun.me>
2017-05-05 22:02:05 +01:00
Roger A. Light
a93a0c9bb1
[424]
...
Fix mosquitto.db from becoming corrupted due to client messages being
persisted with no stored message.
Thanks to codami.
Bug: https://github.com/eclipse/mosquitto/issues/424
2017-04-13 13:40:12 +01:00
Gavin Sherry
03721ccd93
Fix typo
...
Signed-off-by: Gavin Sherry <gavin.sherry@gmail.com>
2017-03-14 11:00:03 -07:00
Roger A. Light
4c43f4ce64
Snaps also need docbook-xsl.
2017-02-22 07:49:39 +00:00
Roger A. Light
cac1724bff
xsltproc dep for building from git.
2017-02-21 19:38:52 +00:00
Roger A. Light
7cd2119db4
Need libc-ares.
2017-02-21 13:25:51 +00:00
Roger A. Light
86001e9059
Merge branch 'master' into fixes
2017-02-21 12:57:32 +00:00
Roger A. Light
81340aa5bb
Add snap support.
2017-02-21 12:02:02 +00:00
Roger A. Light
bda9893713
Version bump.
2017-02-20 23:48:30 +00:00
Roger A. Light
9a2987c145
Missing malloc check.
2017-02-20 23:48:30 +00:00
Roger A. Light
92f3d50b8e
EPROTO is defined on MSVC 2015.
2017-02-20 23:48:30 +00:00
Roger A. Light
cac5464f7f
Use of --ciphers no longer requires you to also pass --tls-version.
...
Closes #380 .
Bug: https://github.com/eclipse/mosquitto/issues/380
2017-02-20 23:48:30 +00:00
Roger A. Light
1a0240b5d5
[379] Improve mosquitto_passwd error messages.
...
Thanks to Jaimyn Mayer. Closes #379 .
Bug: https://github.com/eclipse/mosquitto/issues/379
2017-02-20 23:48:30 +00:00
Roger A. Light
b55e7035ff
[344] Fix non-async case.
2017-02-20 23:48:30 +00:00
Roger A. Light
433ee5c4d6
[344] Don't compile in async dns support by default for makefiles.
2017-02-20 23:48:30 +00:00
Roger A. Light
8406c08124
[344] Detect libanl in cmake.
2017-02-20 23:48:30 +00:00
Roger A. Light
6f45ab9624
[344] Only do async dns on glibc.
2017-02-20 23:48:30 +00:00
Roger A. Light
5eae4b56d6
[344] More leak fixes.
2017-02-20 23:48:30 +00:00
Roger A. Light
e0e8cc9f3e
[344] Fix leaks and incorrect connect call.
2017-02-20 23:48:30 +00:00
Roger A. Light
e13af18ed9
Start of fix for [344].
2017-02-20 23:48:30 +00:00
Roger A. Light
e2edba054e
Fix build dep typo.
2017-02-20 23:48:30 +00:00
Fredrik Fornwall
54a467d782
Include <syslog.h> instead of <sys/syslog.h>
...
Using the standard <syslog.h> header instead of <sys/syslog.h> makes it
consistent with other source files and fixes compilation on Android.
Signed-off-by: Fredrik Fornwall <fredrik@fornwall.net>
2017-02-20 23:48:30 +00:00
Fredrik Fornwall
35cc1eb21e
Check for rt and pthread libraries before linking
...
This fixes building on Android which does not have separate librt
or libpthread libraries.
Signed-off-by: Fredrik Fornwall <fredrik@fornwall.net>
2017-02-20 23:48:30 +00:00
Roger A. Light
2c92d3b837
More file closing fixes.
2017-02-20 23:48:30 +00:00
Roger A. Light
e7c1507f88
Fix error message when websockets http_dir directory does not exist.
2017-02-20 23:48:30 +00:00
Roger A. Light
b01e32bd8b
[354] Close http files even on bad clients.
...
Thanks to jbwdevries.
Bug: https://github.com/eclipse/mosquitto/issues/354
2017-02-20 23:48:30 +00:00
Roger A. Light
7279e48191
[316] Don't error on zero length persistence files.
...
Closes #316 .
Bug: https://github.com/eclipse/mosquitto/issues/316
2017-02-20 23:48:30 +00:00
Roger A. Light
b5b5e6f27d
Don't use reserved identifiers in public headers.
2017-02-20 23:48:30 +00:00
Jens Breitbart
b9d4ebfba3
Fix compiler warnings (unused parameter, additional semicolon).
...
A modern version of the clang compiler complained about:
* unused parameters
* additional semicolon
. This commit fixes these warnings.
Signed-off-by: Jens Breitbart <jbreitbart@gmail.com>
2017-02-20 23:48:30 +00:00
Roger A. Light
8e4a80a928
[329] Fix potential negative timeout being passed to pselect.
...
Thanks to Dollars.
Bug: https://github.com/eclipse/mosquitto/issues/329
2017-02-20 23:48:30 +00:00
Roger A. Light
66683b96b0
Fix potential socket leakage when reconnecting.
...
Bug: https://github.com/eclipse/mosquitto/issues/304
2017-02-20 23:48:30 +00:00
Teun Lassche
4dc96a2533
Fix #304 Socket leakage
...
Signed-off-by: Teun Lassche <contact@thlassche.nl>
2017-02-20 23:48:30 +00:00
Roger A. Light
98ea684906
[323] Allow outgoing IPv6 connections to use TLS.
...
Bug: https://github.com/eclipse/mosquitto/issues/323
2017-02-20 23:48:30 +00:00
Roger A. Light
ed80a9a526
[295] Usage should say we support 3.1.1 as well as 3.1.
...
Closes #295 .
Bug: https://github.com/eclipse/mosquitto/issues/295
2017-02-20 23:48:30 +00:00
Roger A. Light
2c5785376b
Update changelog.
2017-02-20 23:48:30 +00:00
tucic
9f743d5972
Maximum connections for websockets listener ( #271 )
...
Check current number of connections before accepting new websockets clients.
Signed-off-by: tucic <tucic.milan@gmail.com>
2017-02-20 23:48:30 +00:00
Roger A. Light
6b68371dbe
[259] Fix crash when "lazy" type bridge attempts to reconnect.
...
Thanks to hakofugu41.
Bug: https://github.com/eclipse/mosquitto/issues/259
2017-02-20 23:48:30 +00:00
Karl Palsson
20197e2496
websockets: fix compatibility with older lws versions ( #260 )
...
In 1.3, 1.4 and 1.5, the function was "libwebsockets_get_protocol" not
"libwebsocket_get_protocol" While the #define name doesn't matter on
newer libwebsockets, where it redirects to lws_get_protocol, the naming
is critical for older versions.
Fixes: 477cd3e399
(Fix missing context->listener for websocket client)
Signed-off-by: Karl Palsson <karlp@etactica.com>
2017-02-20 23:48:30 +00:00
Roger A. Light
9f32d5c0ac
Version bump.
2017-02-20 21:57:45 +00:00