Commit graph

4713 commits

Author SHA1 Message Date
Roger A. Light
b21c9f2c9a Fix incorrect parsing of unix socket address in proxy v2 2026-02-18 09:05:44 +00:00
Roger A. Light
66486e4748 Improve sqlite docs
Including removing the errant references to acl files.

Closes #3508. Thanks to Ulrich Berkmueller.
2026-02-17 00:19:24 +00:00
Roger A. Light
d0152406e3 Fix will messages being incorrectly delayed.
This occured if a client set session-expiry-interval=0 when using
will-delay-interval>0.

Closes #3505. Thanks to Julian Graf.
2026-02-16 11:37:36 +00:00
Roger A. Light
3a0f46aa20 Fix outgoing maximum-packet-size limit check.
Closes #3503. Thanks to Julian Graf.
2026-02-15 23:00:32 +00:00
Roger A. Light
36be278391 Fix tests when building with WITH_WEBSOCKETS=no.
Closes #3502. Thanks to Matt Turner
2026-02-14 23:56:27 +00:00
Roger A. Light
22f30a92b1 cmake: Ensure all targets that need cJSON have it 2026-02-13 15:51:17 +00:00
Roger A. Light
ab294813f5 Fix bridge clean session tests
Closes #3493. Thanks to Matt Turner
2026-02-13 15:29:12 +00:00
Roger A. Light
1ff8c6e2ab Formatting fixes 2026-02-13 13:20:22 +00:00
Roger A. Light
0c16558320 cmake: Fix linker errors on AIX.
Thanks to Andreas Kempf.
2026-02-13 13:15:03 +00:00
Roger A. Light
01e175969e Fix libmosquitto_static cmake build. 2026-02-13 13:14:50 +00:00
Roger A. Light
d2435fc685 cmake: Simplify WITH_BUNDLED_DEPS handling 2026-02-13 13:14:50 +00:00
Roger A. Light
43c2715042 Fix password length not being passed to MOSQ_EVT_BASIC_AUTH events.
Closes #3490. Thanks to thehouseisonfire.
2026-02-13 13:14:38 +00:00
Jan Palus
33d14397c4 Fix build with USE_LIBWRAP
Signed-off-by: Jan Palus <jpalus@fastmail.com>
2026-02-13 12:21:12 +00:00
Roger A. Light
64ccdc712d Fix missing SONAME.
Closes #3483. Thanks to Matt Turner.
2026-02-13 11:21:28 +00:00
Roger A. Light
da7d02690b Fix mosquitto_loop_start() leaving the mosq struct in an invalid state
This occurs if thread creation fails.

Closes #3496. Thanks to ehoffman2.
2026-02-13 08:33:32 +00:00
Roger A. Light
7984e50f75 Don't run http-api tests without support
Closes #3494. Thanks to Matt Turner.
2026-02-13 00:56:07 +00:00
Roger A. Light
c5e7d6c21e Don't run ./13-websocket-bad-origin.py without websockets support
Closes #3495. Thanks to Matt Turner.
2026-02-13 00:55:45 +00:00
Roger A. Light
7958a85bae Fix potential crash if group id has no group name.
This can occur if reading a file in restricted mode and the group id
does not have an entry in /etc/groups.

Closes #3498. Thanks to Stefan Kranich.
2026-02-13 00:36:47 +00:00
Roger A. Light
189e370313 Fix missing unix sockets support on Windows 2026-02-11 23:45:25 +00:00
Roger A. Light
2d2950a6a5 Fix makefile build with WITH_EDITLINE=no.
Closes #3484. Thanks to Matt Turner.
2026-02-11 15:48:10 +00:00
Roger A. Light
800ec38e22 Fix payload conversion in migrate_to_persist_sqlite.py
Closes #3492. Thanks to Marc Haesen.
2026-02-11 14:53:02 +00:00
Roger A. Light
5f2a45d96a Fix MOSQ_EVT_DISCONNECT being called before MOSQ_EVT_ACL_CHECK
This occurs for the will of that client.

Closes #3487. Thanks to ChrisBFX.
2026-02-11 14:43:57 +00:00
Roger A. Light
5b74cce8a4 Docker update 2026-02-09 11:47:21 +00:00
Roger A. Light
99fa50f30e Release prep for 2.1.2 2026-02-09 09:29:02 +00:00
Roger A. Light
20d9578077 Fix cmake linking of libwebsockets static/shared 2026-02-09 09:24:43 +00:00
Roger A. Light
fbe9470657 kqueue: Fix EV_EOF support 2026-02-08 21:56:19 +00:00
Roger A. Light
a7f3f4c362 Forbid running with persistence true and a plugin at the same time. 2026-02-07 23:25:24 +00:00
Roger A. Light
efb09624c5 kqueue: Fix libwebsockets event generation 2026-02-07 23:25:24 +00:00
Roger A. Light
0491e6bf37 kqueue: Support EV_EOF and EV_ERROR 2026-02-07 23:25:24 +00:00
Roger A. Light
51a31bae08 kqueue: Remove unneeded memset 2026-02-07 23:25:24 +00:00
Roger A. Light
99bd814669 kqueue: Fix timeout calculation 2026-02-07 23:25:15 +00:00
Roger A. Light
51ab9cabec migrate_to_persist_sqlite.py: Fix db dump tool name
Closes #3473. Thanks to Stuart Henderson
2026-02-06 15:30:33 +00:00
Roger A. Light
87903e29b0 migrate_to_persist_sqlite.py: Fix subscription migration 2026-02-06 15:29:45 +00:00
Roger A. Light
aa8fc9a5bf Make migration scripts executable and add shebang 2026-02-06 15:18:13 +00:00
Roger A. Light
9b3dc05706 Only decrement client_count once for WS clients
This was incorrectly added in the fix for #3455.

Closes #3475. Thanks to Manuel Janocha
2026-02-06 15:16:22 +00:00
Roger A. Light
8d0394a977 Add libedit to docker builds
Closes #3476
2026-02-06 15:05:21 +00:00
Roger A. Light
0a64c1de23 OpenBSD build fixes
Closes #3474. Thanks to Stuart Henderson
2026-02-06 14:50:20 +00:00
Roger A. Light
5ce4f07f6a Fix build for WITH_TLS=no WITH_ARGON2=yes WITH_ASAN=yes 2026-02-05 10:43:39 +00:00
Roger A. Light
502dfb75d6 Docker: Use packaged lws on 1.6 and 2.0 builds 2026-02-05 09:26:59 +00:00
Roger A. Light
57d266c50d Docker update 2026-02-04 23:30:18 +00:00
Roger A. Light
f58cecd04c 2.1.1 release prep 2026-02-04 22:27:34 +00:00
Roger A. Light
15a163eb09 Don't enforce receive-maximum on the broker 2026-02-04 21:37:51 +00:00
Roger A. Light
fed19b596b Fix docker/generic image labels. 2026-02-04 00:14:14 +00:00
alorente
1d0a6a931a Update Docker build command in Makefile
Add build argument VERSION to Docker build command
2026-02-04 00:11:52 +00:00
alorente
8619d64e64 Add OCI labels to local Dockerfile
Updated image labels to conform with Open Container Initiative standards and added version argument.
2026-02-04 00:11:47 +00:00
alorente
6b66145230 Add OCI labels to 1.6-openssl Dockerfile
Updated Dockerfile to include Open Container Initiative labels.
2026-02-04 00:11:16 +00:00
alorente
71e5a86bda Add OCI labels to 2.0-openssl Dockerfile
Updated Dockerfile to include Open Container Initiative labels.
2026-02-04 00:10:48 +00:00
alorente
f73d97dfec Add OCI labels to 2.1-alpine Dockerfile
Updated Dockerfile to include Open Container Initiative labels.
2026-02-04 00:10:17 +00:00
alorente
928fa9724f Add OCI labels to 2.1-ubuntu Dockerfile
Updated Dockerfile to include Open Container Initiative labels.
2026-02-04 00:09:28 +00:00
Roger A. Light
578d30e90f Fix max_connections not being honoured on libwebsockets listeners.
Closes #3455. Thanks to FelixPopp.
2026-02-03 23:54:11 +00:00