Commit Graph

1114 Commits (c26892244c3d77a45347d3865b977d89aa6d22a2)
 

Author SHA1 Message Date
Roger A. Light c26892244c Test x509 generation script requires no interaction now. 7 years ago
Roger A. Light 93f9e965a8 Only remove context from hash if there is a client id.
This should never happen, but just in case.
7 years ago
majekw 7f1419e4de Fix mosquitto_pub -l if compiled using cmake.
Since dde005ef92 mosquito_pub is throwing error
that 'threading support has not been compiled' when compiled using cmake.
It looks like WITH_THREADING flag is not set at top level Makefile and used
only in lib/ directory, so library is correctly compiled with threading.
But for client this flag is undefined, so it gives error on '-l' option.

This commit moves part related to WITH_THREADING flag out of lib/CMakeLists.txt
to top levele CMakeLists.txt, so it could be accessible to all subdirectories.

Signed-off-by: Marek Wodzinski <majek@w7i.pl>
7 years ago
Roger A. Light 0a9ee5b4cf Fix memory leak when reconnecting with TLS errors.
Fix memory leak that occurred if mosquitto_reconnect() was used when TLS
errors were present.

Closes #592. Thanks to smartdabao and aaronovz1.
7 years ago
Roger A. Light 35dea07dcd Merge branch 'master' 7 years ago
Roger A. Light e5eb03b2e6 Allow building without shared library. 7 years ago
Roger A. Light 07d59d20e2 Add missing line. 7 years ago
Roger A. Light f6c19b773a Bump snap version. 7 years ago
Roger A. Light 1690f760e4 Add header files to snap. 7 years ago
Roger A. Light 3be1badef0 Include mosquitto_passwd in snap. 7 years ago
Vinod Kumar e492a61cd8 return MOSQ_ERR_INVAL if config has invalid boolean value
Signed-off-by: Vinod Kumar <kumar003vinod@gmail.com>
7 years ago
Vinod Kumar 5898cc9aee update links for signing ECA, fix indentation
Signed-off-by: Vinod Kumar <kumar003vinod@gmail.com>
7 years ago
Roger A. Light 46b943b077 Add website post and update downloads/security. 7 years ago
Roger A. Light 1684feabe9 Merge branch 'fixes' 7 years ago
Roger A. Light c78003cacf Bump version number, add CVE details. 7 years ago
Roger A. Light 588d39efdc Fix Windows version not starting if include_dir did not contain any files.
Closes #566.

Thanks to marleau.
7 years ago
Roger A. Light d9fc9cd0ae Add allow_zero_length_clientid, auto_id_prefix documentation.
Closes #600.
7 years ago
Roger A. Light f9c9f3d396 Fix incorrect hash usage with duplicate clients.
Fix duplicate clients being added to by_id hash before the old client
was removed.

Closes #645.
7 years ago
Roger A. Light 008d424a33 Minor documentation fix. Closes #520. 7 years ago
Roger A. Light 7b1892caef Fix retained msgs not sent by bridges.
This occurred when a bridge connected for the first time and so made a
local subscription for outgoing topics.

Closes #701.
7 years ago
Roger A. Light 9df05e93c0 Add test for $test publishing bug. 7 years ago
Roger A. Light 59bd07627d Various build improvements to help packaging. 7 years ago
Roger A. Light f7474d3482 Revert "Remove some test that was always true"
This reverts commit 6fc7cadb63.
7 years ago
Roger A. Light 9200a8e98b Better attempt at fixing mac travis. 7 years ago
Roger A. Light e3bfb1795e Attempt to fix Mac build on travis. 7 years ago
Kurt Van Dijck e3b4bd8937 fix signal handler on win32
The signal handler thread on win32 did listen to 4 HANDLEs,
of which only 3 were initialized.
The result was 1 thread eating 100% cpu.
This commit reduces the HANDLE array storage.

Signed-off-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
7 years ago
Roger A. Light d1da5ab782 Add fixed CVE information. 7 years ago
Roger A. Light fea25f520f Add missing posts. 7 years ago
Roger A. Light 7ca3a24686 Remove requirement to use `user root` in snap package config files. 7 years ago
Roger A. Light 0e16a248f2 Elevate log level to warning for situation when socket limit is hit. 7 years ago
Roger A. Light dd0e0d91b0 Fix build on Windows. 7 years ago
Roger A. Light a9648e97ef Download page update. 7 years ago
Roger A. Light 3a1c219a0a Update website config. 7 years ago
Roger A. Light 8aef00d3df Add website. 7 years ago
Roger A. Light 79bb75ca07 Snap build fix.
https://forum.snapcraft.io/t/errors-when-building-via-launchpad/7448
7 years ago
Roger A. Light 3f87232065 Bump version number. 7 years ago
Roger A. Light 55ca61f14e Fix segfault on HUP when bridges and security options are configured.
Closes #849. Closes #965. Thanks to Wolfgand Hottgenroth and Dustin Sallings.
7 years ago
Roger A. Light 2b4ba10b3d Fix "round_robin false" behaviour.
Closes #481.
7 years ago
Roger A. Light 3ae387e232 Close spare sock at exit. 7 years ago
Roger A. Light 1e47ee4cad Fix for bridge connections when using WITH_ADNS=yes. 7 years ago
Roger A. Light dea03071d4 Add link to tls asciicast.
Closes #968.
7 years ago
Michael Heimpold a459e93498 Install pkg-config files also for non-CMake builds
At the moment, pkg-config hint files are only installed when CMake is
used as build system. However, it is very convenient for programs using
libmosquitto to have these files always in place, so let's add it
here, too.

Signed-off-by: Michael Heimpold <michael.heimpold@i2se.com>
7 years ago
Roger A. Light 888ca48823 Changelog entry for #932. 7 years ago
Fredrik Fornwall 915e91d9be Fix build with OPENSSL_NO_ENGINE
Signed-off-by: Fredrik Fornwall <fredrik@fornwall.net>
7 years ago
Roger A. Light ae45bd3d40 Update changelog and fixes to #927 PR. 7 years ago
yzhivik 96e62d596f fix SOCKS5 username and password set
fix SOCKS5 request wrt IP4/IP6/FQDN

Signed-off-by: yzhivik <yuriy.zhyvytsya@gmail.com>
7 years ago
Roger A. Light d1b36507db Better implementation of #948. 7 years ago
Roger A. Light ee8e20de75 Fix excessive CPU usage when the number of sockets exceeds the system limit.
Closes #948. Thanks to wiebeytec.
7 years ago
Roger A. Light ba175e581e Update expired test certs. 7 years ago
Roger A. Light dceb02f444 Make it easier to build without bundled uthash.h.
Use "make WITH_BUNDLED_DEPS=no".
7 years ago