Roger A. Light
491600ea7d
codeql: Build cjson as a shared lib.
5 years ago
Roger A. Light
3ced609671
codeql: Build cJSON as Ubuntu bionic doesn't have it.
5 years ago
Roger A. Light
a33c28cfe1
Use manual build for codeql.
5 years ago
Roger Light
dbb3b2a516
Create codeql-analysis.yml
5 years ago
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.
5 years ago
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.
5 years ago
Roger A. Light
9d3732a62d
Fix `auth_method` not being provided to the extended auth plugin event.
...
Closes #1975 . Thanks to Jinming Chen.
5 years ago
Roger A. Light
faeb9e9122
Update docker hashes.
5 years ago
Roger A. Light
7fc472232c
Merge branch 'fixes'
5 years ago
Roger A. Light
5a565da82b
Bump version number. Update changelog and web pages.
5 years ago
Roger A. Light
97d9f471c3
Fix websockets connections blocking non-ws connections on Windows.
...
Closes #1934 . Thanks to sectokia and jarapa9.
5 years ago
Roger A. Light
ce30f811ba
Improve API documentation.
...
Fix return code on callback unregister.
5 years ago
Roger A. Light
31ac9c77cb
Fix typo in documentation.
5 years ago
Roger A. Light
b8962cc040
Add more log messages for dynsec load/save error conditions.
5 years ago
Roger A. Light
c6a6165f3b
Fix dynamic security configuration possibly not being reloaded on Windows only.
...
Closes #1962 . Thanks to martgeier.
5 years ago
Roger A. Light
4a012aef06
Fix man pages not being built when using CMake.
...
Closes #1969 . Thanks to phplpf.
5 years ago
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().
5 years ago
Roger A. Light
e02b5a2775
Fix $SYS/broker/publish/messages/+ counters not being updated for QoS 1, 2
...
Closes #1968 . Thanks to promahn.
5 years ago
Roger Light
ec1cad0870
Merge pull request #1964 from nullr0ute/fix-plugins-install-64bit
...
Use libdir as the install prefix for plugins
5 years ago
Roger A. Light
0ec258d01f
Fix incorrect string length calculation.
...
Closes #1963 . Thanks to twegener-embertec.
5 years ago
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>
5 years ago
Roger A. Light
e97cf6252e
Attempt to fix snap build.
5 years ago
Roger A. Light
119b883e86
Update docker builds.
5 years ago
Roger A. Light
2cc12adcab
Merge branch 'fixes'
5 years ago
Roger A. Light
d02bc03ed8
Bump version, changelog and webpage.
5 years ago
Roger A. Light
f930970008
Fix persistence_location not appending a '/'.
5 years ago
Roger A. Light
99e8c8001d
Build lib from in mosquitto_ctrl directory.
5 years ago
Roger A. Light
2d9d1beee4
Fix ChangeLog error. Closes #1941 .
5 years ago
Roger A. Light
f10de9831a
Fix slow initial bridge connections for WITH_ADNS=no.
5 years ago
Roger Light
f32d9ae97c
Merge pull request #1933 from Hallot/bug/cmake-module-path
...
Fix issue with CMAKE_MODULE_PATH
5 years ago
Roger A. Light
1d92184b2f
Fix local bridges being disconnected on SIGHUP.
...
Closes #1942 . Thanks to charlemagnelasse.
5 years ago
Roger A. Light
00c68203b8
Fix QoS 0 messages not being delivered if max_queued_messages was set to 0.
...
Closes #1956 . Thanks to nduhme.
5 years ago
Roger A. Light
d05a49a2cf
Fix bridges possibly not completing connections when WITH_ADNS is in use.
...
Closes #1960 . Thanks to twegener-embertec.
5 years ago
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.
5 years ago
Roger Light
7a7fe8b80a
Merge pull request #1959 from peteakalad/master
...
Systemd service changes for updated pid path
5 years ago
Peter Stevenson
8a44e5940c
Systemd service changes for updated pid path.
...
Signed-off-by: Peter Stevenson <pete@ihut.co.uk>
5 years ago
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>
5 years ago
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>
5 years ago
Pierre Hallot
4dcfe5424f
Remove CMAKE_LEGACY_CYGWIN_WIN32 which is not needed anymore
...
According to this from the mailing list, it is no longer required since the minimum cmake required is 3.0.
https://cmake.org/pipermail/cmake/2014-July/058048.html
"The code that emits the warning is run by "project()". Since you do not have an explicit project() call in your top-level CMakeLists.txt CMake adds one to the top implicitly. [1]
A project file that explicitly calls project() after requiring CMake >= 2.8.4 should make the warning go away."
Signed-off-by: Pierre Hallot <hallotpierre@gmail.com>
5 years ago
Roger Light
113603168b
Fix LWT not being sent on client takeover.
...
This was not happening for the case when the existing session wasn't
being continued.
Closes #1946 . Thanks to Rory Piper.
5 years ago
Roger Light
74f3285cf8
Fix `generic` docker build.
...
Closes #1945 . Thanks to Andreas Schildbach.
5 years ago
Roger Light
f63386bf4a
Fix `mosquitto_passwd -b` using username as password.
...
Only applies if if `-c` is not also used.
Closes #1949 . Thanks to J. Augusto de Oliveira.
5 years ago
Roger A. Light
abac67299f
Fix excessive CPU use on non-Linux systems when the open file limit is set high.
...
Closes #1947 . Thanks to Patrick TJ McPhee.
5 years ago
Roger A. Light
f7dc138157
Fix `install` target when using WITH_CJSON=no.
...
Closes #1938 . Thanks to apple3306 and JulianCaruso.
5 years ago
Roger A. Light
cc47eaba09
Bump version number and update webpage.
5 years ago
Roger A. Light
ecf6f9079a
Fix build regression for WITH_WEBSOCKETS=yes on non-Linux systems.
5 years ago
Roger A. Light
38b930776c
Update docker builds
5 years ago
Roger A. Light
f9259a2ba0
Merge branch 'fixes'
5 years ago
Roger A. Light
2307c9fa07
Update web pages.
5 years ago
Roger A. Light
36eb5ca0c9
Bump changelog date.
5 years ago