Commit Graph

2768 Commits

Author SHA1 Message Date
Roger A. Light
9a87603a64 Merge branch 'abiliojr-fix-backoff' into fixes 2021-03-11 14:02:04 +00:00
Roger A. Light
4b0a4c5c08 Merge branch 'fix-backoff' of git://github.com/abiliojr/mosquitto into abiliojr-fix-backoff 2021-03-11 14:01:47 +00:00
Roger A. Light
c11a2d5a8b Fix mosquitto_rr doc default version.
Closes #2032.
2021-03-11 14:00:08 +00:00
Roger A. Light
8a5de787a7 Merge branch 'fix_interface_binding' of git://github.com/mosterdt/mosquitto into mosterdt-fix_interface_binding 2021-03-11 13:44:53 +00:00
Roger A. Light
b7a08d5c40 Fix TLS bridge/lib incorrectly connecting on invalid CA file.
Closes #2130. Thanks to becz.
2021-03-11 12:45:04 +00:00
Roger Light
ace2aa764e Fix cmake epoll detection. 2021-03-08 23:57:04 +00:00
Roger A. Light
e401def06d Fix QoS 0 messages not being delivered when max_queued_bytes was configured.
Closes #2123. Thanks to quackgizmo.
2021-03-08 23:23:45 +00:00
Roger A. Light
f89a3c3fc0 Fix messages to $ prefixed topics being rejected.
Closes #2111. Thanks to yellowgg2.
2021-03-06 00:57:37 +00:00
Roger A. Light
7baca428da Remove obsolete tests. 2021-03-04 09:49:29 +00:00
Roger Light
83334afee8 Remove redunant function delaration. 2021-03-03 22:44:50 +00:00
Roger Light
64f697d55d Fix tls_version behaviour not matching documentation.
It was setting the exact TLS version to use, not the minimium TLS
version to use.

Closes #2110. Thanks to Petter Jönsson.
2021-03-03 22:21:24 +00:00
Roger A. Light
5c45bc4e84 Improve Docker no-auth mode.
Remove use of environment variable, instruct users to run a specific
command instead.
2021-03-03 17:14:16 +00:00
Abilio Marques
2a38b7115b brige: fix backoff not working for remote broker returned errors
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
2021-02-26 01:00:48 +01:00
Roger A. Light
1103c83268 Bump docker builds. 2021-02-25 17:37:03 +00:00
Roger A. Light
1890a86ebc Merge branch 'fixes' 2021-02-25 17:27:21 +00:00
Roger A. Light
cec9d36445 Bump version and web pages. 2021-02-25 17:23:24 +00:00
Roger A. Light
465ee546c4 Update comment. 2021-02-25 17:13:56 +00:00
Roger A. Light
2190e98b20 Fix memory tracking not being available on FreeBSD or macOS.
Closes #2096. Thanks to blusewang.
2021-02-25 17:04:15 +00:00
Roger A. Light
12ff9d5e14 Allow Docker images to run with anon, without a config file.
Provide a mechanism for Docker users to run a broker that doesn't use
authentication, without having to provide their own configuration file.

Closes #2040.
2021-02-25 13:51:27 +00:00
Vidar Madsen
ebfcc84cda Add new function to header. Minor tweaks.
Signed-off-by: Vidar Madsen <vidarino@gmail.com>
2021-02-19 13:53:50 +01:00
Vidar Madsen
6bea9f7b32 Handle stale stored messages with conflicting message IDs.
Signed-off-by: Vidar Madsen <vidarino@gmail.com>
2021-02-18 15:34:53 +01:00
Roger A. Light
9b08faf0bd Fix mosquitto_{pub|sub}_topic_check() function returns.
The would not return MOSQ_ERR_INVAL on topic == NULL.
2021-02-09 14:09:53 +00:00
Roger A. Light
1b24f625ea Give compile time warning for libwebsockets
If it is compiled without external poll support.

Closes #2060. Thanks to Yannic Schröder.
2021-02-09 13:18:58 +00:00
Thomas De Backer
fd2f764d36 Check host address binding before overwriting
Signed-off-by: Thomas De Backer <mosterdt@debacker.me>
2021-02-08 23:37:04 +01:00
Thomas De Backer
764aa4e8dc Correct interface binding
Signed-off-by: Thomas De Backer <mosterdt@debacker.me>
2021-02-08 23:37:02 +01:00
Roger A. Light
7fe638786d Fix mosquitto_evt_tick struct members. 2021-02-06 23:54:11 +00:00
Roger A. Light
24920c9a08 Fix possible loss of data in mosquitto_pub -l when sending multiple long lines.
Closes #2078. Thanks to Ysincit.
2021-02-06 23:05:52 +00:00
Roger A. Light
36b42364ae Add new auth doc to documentation index. 2021-02-05 15:41:26 +00:00
Roger A. Light
c640d669c9 Add authentication methods doc. 2021-02-05 15:36:36 +00:00
Roger A. Light
c7177d8898 Don't specify listener *or* port in snap default.
If we do that, then nothing can connect even from the local machine.
2021-02-05 14:25:04 +00:00
Roger A. Light
801f5d216e Use listener in default snap config to avoid deprecated port. 2021-02-05 12:44:43 +00:00
Roger A. Light
0736414306 Update docker builds. 2021-02-04 10:59:40 +00:00
Roger A. Light
26657053d9 Merge branch 'fixes' 2021-02-04 10:10:49 +00:00
Roger A. Light
c2a26250f6 Bump changelog, versions, and web pages. 2021-02-04 10:10:13 +00:00
Roger A. Light
4a738f154e Fix openssl engine not being able to load private key.
Closes #2066. Thanks to Boris Vanhoof.
2021-02-03 21:54:35 +00:00
Roger A. Light
7a3b69f2d7 Fix possible leak during connect.
Closes #2057. Thanks to Przemysław Zygmunt.
2021-02-03 17:27:50 +00:00
Roger A. Light
1e6be1f123 Fix some minor memory leaks on exit only. 2021-02-03 17:27:44 +00:00
Roger A. Light
6c2dca51c3 Clients: Fix config files truncating options after the first space.
Closes #2059. Thanks to Jason White.
2021-02-03 10:11:44 +00:00
Roger A. Light
f7dcd83572 Replace bash specific equality check with POSIX check.
Closes #2056. Thanks to Greg Troxel.
2021-02-03 09:52:52 +00:00
Roger A. Light
217b416a2d Fix man page building to not absolutely require xsltproc when using CMake.
This now handles the case where we are building from the released tar, or
building from git if xsltproc is available, or building from git if xsltproc
is not available.
2021-02-02 16:33:49 +00:00
Roger A. Light
05292cdbef Fix exporting of executable symbols on BSD when building via makefile. 2021-02-02 16:14:05 +00:00
Roger A. Light
603107b87a Fix build of mosquitto_ctrl with static only libs. 2021-02-02 13:37:39 +00:00
Roger A. Light
f1180dd23a Update docker for 2.0.6. 2021-01-28 16:36:51 +00:00
Roger A. Light
bbe0afbfbe Add missing WITH_CJSON option. 2021-01-28 13:34:29 +00:00
Roger A. Light
53b7cc5fc1 Bump version number, add web post. 2021-01-28 13:26:55 +00:00
Roger A. Light
2749b8c5b8 Merge branch 'fixes' 2021-01-28 12:28:53 +00:00
Roger A. Light
e98cc28cd3 Move check after current_out_packet is updated. 2021-01-28 09:29:52 +00:00
Przemek Zygmunt
18bad1ff32 Unconditionally adding an event to the epoll causes 100% CPU usage. This happens when the connection to the server is established and the client has not sent any data yet.
Signed-off-by: Przemek Zygmunt <p.zygmunt@acsoftware.pl>
2021-01-28 09:28:36 +00:00
Roger A. Light
6e3738dcf0 Fix bridges not always connecting on Windows.
Closes #2043. Thanks to ttsorensen.
2021-01-26 13:19:08 +00:00
Roger Light
ad9a78dfc3 Note in the man pages that SIGHUP reloads TLS certificates.
Closes #2037. Thanks to Greg Troxel.
2021-01-25 23:09:03 +00:00