Roger Light
4a114c6151
Remove unused struct member.
2021-01-09 21:24:30 +00:00
Roger A. Light
370cec5edd
Fixes for lots of minor build warnings highlighted by Visual Studio.
2021-01-09 21:06:08 +00:00
Roger A. Light
e717b7f42c
Merge branch 'Hallot-make-sure-xsltproc-installed' into fixes
2021-01-08 17:09:39 +00:00
Roger A. Light
f7255ac3cf
Merge branch 'make-sure-xsltproc-installed' of git://github.com/Hallot/mosquitto into Hallot-make-sure-xsltproc-installed
2021-01-08 17:08:58 +00:00
Roger A. Light
6728c05a2c
install
Makefile target should depend on all
, not mosquitto
...
This ensures that man pages are always built, even if a user runs `make
install` without building first.
Closes #1989 . Thanks to woodz-.
2021-01-08 17:06:30 +00:00
Roger Light
7e1a818c54
Fix invalid behaviour in dynsec plugin.
...
This occurred if a group or client was deleted before a role that was
attached to the group or client is deleted.
Closes #1998 . Thanks to Willem Eradus.
2021-01-08 00:01:10 +00:00
Roger Light
5b3acfe3cc
Fix mosquitto_ctrl dynsec getGroup
not showing roles.
...
Closes #1997 . Thanks to Willem Eradus.
2021-01-07 23:36:56 +00:00
Roger Light
886ee6cd0c
Fix bind_interface
option.
...
Closes #1999 . Thanks to Joerg55.
2021-01-07 22:50:32 +00:00
Roger Light
28c28fe707
Fix incorrect description in mosquitto_ctrl man page.
...
Closes #1995 . Thanks to fyta2000.
2021-01-07 11:48:55 +00:00
Roger A. Light
70db9c486e
Disallow control characters in mosquitto_passwd usernames.
2021-01-06 22:44:58 +00:00
Roger A. Light
93c730f799
Fix potential intermittent initial bridge connections when using poll().
2021-01-06 22:03:34 +00:00
Roger A. Light
a69f125b80
No need to clear memory outside of condition.
2021-01-06 11:41:25 +00:00
Roger A. Light
86e0122a2d
Only add/remove poll events when they aren't already done.
2021-01-06 11:41:00 +00:00
Roger A. Light
fabdfcc060
Further fix for large packets not being sent in a timely fashion.
2021-01-06 11:40:08 +00:00
Pierre Hallot
2cbb3e45ca
Look for xsltproc when needed; to fail early
...
Signed-off-by: Pierre Hallot <hallotpierre@gmail.com>
2021-01-04 16:53:51 +01:00
Roger Light
c604cf8fd0
net__write buf should be const.
2021-01-03 20:52:45 +00:00
Roger A. Light
8385769b86
Fix apparmor incorrectly denying access db tmp file.
...
This is /var/lib/mosquitto/mosquitto.db.new.
Closes #1978 . Thanks to gnampf89.
2020-12-27 23:05:53 +00:00
Roger A. Light
b2da540c64
Fix large packets not being completely published to slow clients.
...
Also fix bridge connection not relinquishing POLLOUT after messages are
sent.
Closes #1977 . Thanks to marchaesen.
Closes #1979 . Thanks to GorazdKikelj.
2020-12-27 23:03:38 +00:00
Roger A. Light
9d3732a62d
Fix auth_method
not being provided to the extended auth plugin event.
...
Closes #1975 . Thanks to Jinming Chen.
2020-12-23 17:19:51 +00:00
Roger A. Light
faeb9e9122
Update docker hashes.
2020-12-22 22:58:55 +00:00
Roger A. Light
7fc472232c
Merge branch 'fixes'
2020-12-22 16:56:29 +00:00
Roger A. Light
5a565da82b
Bump version number. Update changelog and web pages.
2020-12-22 16:56:07 +00:00
Roger A. Light
97d9f471c3
Fix websockets connections blocking non-ws connections on Windows.
...
Closes #1934 . Thanks to sectokia and jarapa9.
2020-12-22 16:48:57 +00:00
Roger A. Light
ce30f811ba
Improve API documentation.
...
Fix return code on callback unregister.
2020-12-22 13:54:51 +00:00
Roger A. Light
31ac9c77cb
Fix typo in documentation.
2020-12-22 12:01:42 +00:00
Roger A. Light
b8962cc040
Add more log messages for dynsec load/save error conditions.
2020-12-22 10:00:23 +00:00
Roger A. Light
c6a6165f3b
Fix dynamic security configuration possibly not being reloaded on Windows only.
...
Closes #1962 . Thanks to martgeier.
2020-12-20 23:02:19 +00:00
Roger A. Light
4a012aef06
Fix man pages not being built when using CMake.
...
Closes #1969 . Thanks to phplpf.
2020-12-20 22:33:01 +00:00
Roger A. Light
2db9aecac4
Do not reset bind address option if passed NULL.
...
mosquitto_connect_bind_async() and mosquitto_connect_bind_v5() should not
reset the bind address option if called with bind_address == NULL.
Otherwise calling mosquitto_connect_async() will *force* the bind
address to be reset, even if previously set with
mosquitto_string_option().
2020-12-20 17:21:17 +00:00
Roger A. Light
e02b5a2775
Fix $SYS/broker/publish/messages/+ counters not being updated for QoS 1, 2
...
Closes #1968 . Thanks to promahn.
2020-12-18 22:55:10 +00:00
Roger Light
ec1cad0870
Merge pull request #1964 from nullr0ute/fix-plugins-install-64bit
...
Use libdir as the install prefix for plugins
2020-12-18 11:00:54 +00:00
Roger A. Light
0ec258d01f
Fix incorrect string length calculation.
...
Closes #1963 . Thanks to twegener-embertec.
2020-12-18 09:45:49 +00:00
Peter Robinson
9d7580fdb6
Use libdir as the install prefix for plugins
...
Use the libdir variable from config.mk just like lib/ uses to ensure
that the plugins are installed into the same location as the library.
This fixes systems that use lib64 for libraries like most 64 bit
Linux distributions.
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
2020-12-18 08:05:06 +00:00
Roger A. Light
e97cf6252e
Attempt to fix snap build.
2020-12-17 18:53:25 +00:00
Roger A. Light
119b883e86
Update docker builds.
2020-12-17 16:28:35 +00:00
Roger A. Light
2cc12adcab
Merge branch 'fixes'
2020-12-17 15:19:47 +00:00
Roger A. Light
d02bc03ed8
Bump version, changelog and webpage.
2020-12-17 15:19:36 +00:00
Roger A. Light
f930970008
Fix persistence_location not appending a '/'.
2020-12-17 15:19:33 +00:00
Roger A. Light
99e8c8001d
Build lib from in mosquitto_ctrl directory.
2020-12-17 15:19:12 +00:00
Roger A. Light
2d9d1beee4
Fix ChangeLog error. Closes #1941 .
2020-12-17 14:12:53 +00:00
Roger A. Light
f10de9831a
Fix slow initial bridge connections for WITH_ADNS=no.
2020-12-17 14:12:53 +00:00
Roger Light
f32d9ae97c
Merge pull request #1933 from Hallot/bug/cmake-module-path
...
Fix issue with CMAKE_MODULE_PATH
2020-12-17 14:11:04 +00:00
Roger A. Light
1d92184b2f
Fix local bridges being disconnected on SIGHUP.
...
Closes #1942 . Thanks to charlemagnelasse.
2020-12-17 14:00:50 +00:00
Roger A. Light
00c68203b8
Fix QoS 0 messages not being delivered if max_queued_messages was set to 0.
...
Closes #1956 . Thanks to nduhme.
2020-12-17 11:57:15 +00:00
Roger A. Light
d05a49a2cf
Fix bridges possibly not completing connections when WITH_ADNS is in use.
...
Closes #1960 . Thanks to twegener-embertec.
2020-12-17 11:31:38 +00:00
Roger A. Light
de141540fb
Fix mosquitto_sub being unable to terminate with Ctrl-C.
...
This occured if a successful connection was not made.
Closes #1957 . Thanks to Peoh.
2020-12-17 10:40:58 +00:00
Roger Light
7a7fe8b80a
Merge pull request #1959 from peteakalad/master
...
Systemd service changes for updated pid path
2020-12-17 10:32:31 +00:00
Peter Stevenson
8a44e5940c
Systemd service changes for updated pid path.
...
Signed-off-by: Peter Stevenson <pete@ihut.co.uk>
2020-12-17 00:24:10 +00:00
Pierre Hallot
57d2818a3d
Fix appending CMake module path to existing path
...
The code would simply append the folder with no separator, resulting in an invalid path if the variable was not empty.
Now properly append it.
Signed-off-by: Pierre Hallot <hallotpierre@gmail.com>
2020-12-14 11:26:12 +01:00
Pierre Hallot
ddb0f21ab5
Set cmake_minimum_required first as recommended in the documentation
...
https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html
"Note Call the cmake_minimum_required() command at the beginning of the top-level CMakeLists.txt file even before calling the project() command. It is important to establish version and policy settings before invoking other commands whose behavior they may affect."
Signed-off-by: Pierre Hallot <hallotpierre@gmail.com>
2020-12-14 11:26:09 +01:00