Fix max_connections not being honoured on websockets listeners.

Closes #3455. Thanks to FelixPopp.
This commit is contained in:
Roger A. Light
2026-06-23 20:08:04 +01:00
parent 2e29a04294
commit 03f93524da
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ Broker:
- Fix max_connections not being honoured on websockets listeners. Closes #3455.
- Fix outgoing maximum-packet-size limit check. Closes #3503.
- Fix creation of log and runtime directories in systemd unit files.
Closes #3344.
Closes #3344.
- Fix will messages being incorrectly delayed if a client set
session-expiry-interval=0 when using will-delay-interval>0. Closes #3505.
+1
View File
@@ -196,6 +196,7 @@ static int callback_mqtt(
HASH_DELETE(hh_sock, db.contexts_by_sock, mosq);
mosq->sock = INVALID_SOCKET;
mux__delete(mosq);
mosq->listener->client_count--;
}
mosq->wsi = NULL;
#ifdef WITH_TLS