Christian Beier
fe10226cc9
Fix building with Visual Studio 2008
...
This older Microsoft compiler does not support mixing declarations and
code and misses some error defines. This commit enables building with
VS2008 by moving up some variable declarations and defining error
codes to their WinSock counterparts in case they're not defined.
Signed-off-by: Christian Beier <info@christianbeier.net>
5 years ago
Roger A. Light
d3dd89da82
Fix man page typos.
5 years ago
Roger Light
702aaabee2
mux init must happen before bridges are started.
5 years ago
Roger Light
f1f0396d86
Fix links in man pages.
5 years ago
Roger Light
c418b57d0f
Fix possible crash having just upgraded from 1.6.
...
Happens if `per_listener_settings true` is set, and a SIGHUP is sent to
the broker before a client has reconnected to the broker.
Closes #2167 . Thanks to momoskitto.
5 years ago
Roger A. Light
ec54bce037
Fix mosquitto_sub pipe close detection.
...
If sending mosquitto_sub output to a pipe, mosquitto_sub will now detect
that the pipe has closed and disconnect.
Closes #2164 . Thanks to Frantisek Fuka.
5 years ago
Roger Light
229b1f752f
Merge pull request #2166 from mnhauke/master
...
CMake: Fix undefined symbols in plugins
5 years ago
Martin Hauke
e21eaeca37
CMake: Fix undefined symbols in plugins
5 years ago
Roger A. Light
ea46a8188e
Add more documentation on pthread support.
5 years ago
Roger A. Light
34522913ea
Update Windows readme.
5 years ago
Roger A. Light
1c79920d78
Update docker.
5 years ago
Roger A. Light
1a6fdfb695
Merge branch 'fixes'
5 years ago
Roger A. Light
e7aa0fed2f
Bump version, update web page.
5 years ago
Roger A. Light
54df92cdc9
Add references to dynsec plugin in mosquitto.conf(5)
...
Closes #2089 . Thanks to YerayAlonso.
5 years ago
Roger A. Light
983dc14f2c
Provide help for users trying to bind to privileged ports.
...
Closes #2098 .
5 years ago
Roger A. Light
eead0d2943
Fix build on Solaris non-sparc.
...
Closes #2136 . Thanks to chuckunix.
5 years ago
Roger A. Light
6a4a547892
Fix segfault on client sending malformed CONNACk.
...
CVE-xxxx-xxxx: If an authenticated client connected with MQTT v5 sent a
malformed CONNACK message to the broker a NULL pointer dereference occurred,
most likely resulting in a segfault. This will be updated with the CVE
number when it is assigned.
Affects versions 2.0.0 to 2.0.9 inclusive.
Closes #2163 . Thanks to Bryan Pearson.
5 years ago
Roger A. Light
cde735a480
Add issue template.
5 years ago
Roger Light
6ebbb4d654
Fix possible socket leak.
...
This would occur if a client was using `mosquitto_loop_start()`, then if
the connection failed due to the remote server being inaccessible they
called `mosquitto_loop_stop(, true)` and recreated the mosquitto object.
See: https://www.eclipse.org/forums/index.php?t=rview&goto=1839865#msg_1839865
5 years ago
Roger Light
117e59b7cf
Fix CMake cross compile builds not finding opensslconf.h.
...
Closes #2160 . Thanks to Ozaq.
5 years ago
Roger A. Light
4ee03f21e3
Guard against missing UNUSED.
5 years ago
Roger A. Light
7d214a445d
Fix TLS-PSK mode not working with port 8883.
...
Closes #2152 . Thanks to jetpax.
5 years ago
Roger A. Light
3ac2c3ee09
Improve mosquitto_ctrl documentation.
5 years ago
Roger A. Light
20e154c1dd
Add missing config file.
5 years ago
Roger A. Light
27ca78ba60
Bring generic Dockerfile in line with 2.0-openssl.
5 years ago
Roger A. Light
e32bd8fb92
Add info on config-less docker to the generic image readme.
5 years ago
Roger A. Light
71366fd569
Add mosquitto_ctrl options
5 years ago
Roger Light
0f9e5795a2
Merge pull request #2145 from abiliojr/empty_sockpairR
...
Fully empty sockpairR on interruptible_sleep
5 years ago
Roger Light
1c6571a83a
Merge pull request #2144 from abiliojr/fix_duplicates_on_connect
...
fix duplication of messages during connect
5 years ago
Abilio Marques
dd4a64b049
fully empty socketpairR on interruptible_sleep
...
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
5 years ago
Abilio Marques
91f34e084f
fix duplication of messages during connect
...
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
5 years ago
Roger Light
a5d9986cbd
More compiler warning fixes.
5 years ago
Roger Light
2de8c15bc9
Minor build fixes.
5 years ago
Roger Light
cca41d176d
Fix inconsistent sign in log__printf declaration.
5 years ago
Roger Light
9989a3502d
Add link to authentication options if running in local only mode.
5 years ago
Roger Light
a6bb8d3611
Don't over write new receive-maximum if a v5 client connects.
...
This is for when it takes over an old session.
Closes #2134 . Thanks to Frantisek Fuka.
5 years ago
Roger Light
9faf89be8d
Set `receive-maximum` to not exceed the `-C` message count.
...
This is for mosquitto_sub and mosquitto_rr, to avoid potentially lost
messages.
Closes #2134 . Thanks to Frantisek Fuka.
5 years ago
Roger A. Light
9f21a43eee
Update docker.
5 years ago
Roger A. Light
c03c6b765e
Merge branch 'fixes'
5 years ago
Roger A. Light
bb73eed557
Bump version number and update web pages.
5 years ago
Roger A. Light
f8838243fb
Fix connections retrying very rapidly in some situations.
...
Thanks to Abilio Marques.
5 years ago
Roger A. Light
891be8c2fe
Fix `max_keepalive` option not applying to keepalive=0.
...
Closes #2117 . Thanks to David Nadlinger.
5 years ago
Roger A. Light
1109f53fbf
Merge branch 'vidarino-master' into fixes
5 years ago
Roger A. Light
720ce01faf
Minor tweaks to PR.
5 years ago
Roger A. Light
87cf3680e5
Merge branch 'master' of git://github.com/vidarino/mosquitto into vidarino-master
5 years ago
Roger A. Light
f4d088b6d0
Improve logging of pull request.
...
Improve handling of invalid combinations of listener address and bind
interface configurations. Closes #2081 .
5 years ago
Roger A. Light
095d6e1caa
Merge branch 'mosterdt-fix_interface_binding' into fixes
5 years ago
Roger A. Light
88d2c74ab2
Fix bridge backoff calculation.
5 years ago
Roger A. Light
9a87603a64
Merge branch 'abiliojr-fix-backoff' into fixes
5 years ago
Roger A. Light
4b0a4c5c08
Merge branch 'fix-backoff' of git://github.com/abiliojr/mosquitto into abiliojr-fix-backoff
5 years ago