2011 Commits
Author SHA1 Message Date
Roger A. Light 5cd2546511 Fix possibility of passing null pointer to memcmp 2026-07-30 09:57:21 +01:00
Roger A. Light 09a36f1688 Fix incorrect return code on send suback error 2026-07-29 17:52:37 +01:00
Roger A. Light a763065989 Port some simple broker tests to msg_sequence tests. 2026-06-13 08:15:37 +01:00
Roger A. Light db988a6e4a Test: Fix incorrect address, and give better http-api failure msg 2026-05-18 22:53:52 +01:00
Roger A. Light 5a830e1a78 Fix clients not having session-expiry-time updated on broker close
Issue #3645.
2026-05-13 19:42:48 +01:00
Roger A. Light a21362c2f6 Simplify setsockopt usage, fix builds on mingw64 2026-05-03 13:58:07 +01:00
Roger A. Light e27ee2b4f5 Windows: Build fixes 2026-05-03 01:17:26 +01:00
Roger Light 517ea6072f Fix Windows signal handling thread immediately exiting. 2026-05-03 01:17:26 +01:00
Roger Light 4cf0eb296b Fix Windows signals not being reset 2026-05-03 01:17:26 +01:00
Roger A. Light fd64deacfe cmake: Fix missing xtreport option 2026-04-16 21:35:46 +01:00
Roger A. Light ab2718922c cmake: Tidy options 2026-04-16 21:35:46 +01:00
Roger A. Light 589b9c047e cmake: Add missing WITH_PERSISTENCE compile time option. 2026-04-16 21:35:46 +01:00
Roger A. Light 41ec103b37 Remove unused compile options 2026-04-16 21:35:46 +01:00
Roger A. Light 8d8eaccccf Fix incorrect compile guard 2026-04-16 21:35:46 +01:00
Roger A. Light 5c86508b66 Always provide TLS state in responses even if TLS disabled 2026-04-16 21:35:46 +01:00
Roger A. Light ada3184901 cmake: Save features in use to a property 2026-04-16 21:35:46 +01:00
Roger A. Light 7a2f0f3066 Protocol error edge case test fixes and redundant check removal 2026-04-15 12:31:28 +01:00
Roger A. Light b3b4d77ef3 cmake: Disable http-api tests if library not available. 2026-02-25 11:40:50 +00:00
Yann E. MORIN 8c3bc32689 broker: properly check for getaddrinfo_a()
getaddrinfo_a( is protected by _GNU_SOURCE.

This is properly accounted for in the source code, in lib/net_mosq.c,
but the check in the CmakeList is missing that define, which causes
the check to actually fail.

Add that define when checking; this fixes builds on various C libraries,
like uClibc-ng, musl, or newer/older glibc.

Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
2026-02-24 09:38:49 +00:00
Roger A. Light f5dd5d8519 Fix unix sockets support on Windows
Closes #3511. Thanks to lt-havoc.
2026-02-23 23:16:43 +00:00
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 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 0c16558320 cmake: Fix linker errors on AIX.
Thanks to Andreas Kempf.
2026-02-13 13:15:03 +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 189e370313 Fix missing unix sockets support on Windows 2026-02-11 23:45:25 +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 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 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 0a64c1de23 OpenBSD build fixes
Closes #3474. Thanks to Stuart Henderson
2026-02-06 14:50:20 +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 578d30e90f Fix max_connections not being honoured on libwebsockets listeners.
Closes #3455. Thanks to FelixPopp.
2026-02-03 23:54:11 +00:00
Roger A. Light df7b703080 Fix $SYS load values not being published initially.
Closes #3459. Thanks to hessijames79
2026-02-03 09:28:18 +00:00
Roger A. Light 695df7719d Fix building with WITH_TLS=no
Closes #3469. Thanks to iTitou.
2026-02-03 09:23:27 +00:00
Roger A. Light a1dcebd273 Fix plugin/global_plugin option not allowing space characters. 2026-02-03 00:19:59 +00:00
Roger A. Light 6711465b24 Fix missing log error when loading missing plugin path 2026-02-03 00:19:59 +00:00
Roger A. Light 3c45da8d7e Fix inconsistent client disconnect log format 2026-02-03 00:19:59 +00:00
Roger A. Light 750c0f44d8 Fix address and port missing from disconnect messages 2026-02-02 23:50:42 +00:00
Roger A. Light 16f41e61fc Add MOSQUITTO_UNSAFE_ALLOW_SYMLINKS env var
Setting this environment variable allows sensitive files to be read
through symlinks.

Closes #3461. Thanks to Jeff Cutsinger
2026-02-02 16:33:37 +00:00
Roger A. Light c2c5ed9853 Fix PUID/PGID checking for docker 2026-01-30 09:41:31 +00:00
Roger A. Light 233999cc0a Fix callback handling when using plugin_load. 2026-01-29 14:10:10 +00:00
Roger A. Light 9ccdf203ab Remove logging printf 2026-01-28 21:02:40 +00:00
Roger A. Light ebd3f228e0 Re-enable support for TLS 1.1 in the broker but not by default
Log a scary message if used.
2026-01-28 00:40:24 +00:00