mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-09-24 00:54:01 +08:00
Fix max_connections not being honoured on websockets listeners.
Closes #3455. Thanks to FelixPopp.
This commit is contained in:
+1
-1
@@ -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.
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user