Fix TLS Websockets clients not receiving messages.
This can occurs after one client takes over a previous connection. Closes #1489. Thanks to Bas Verhoeven.
This commit is contained in:
parent
c052950639
commit
05171b266d
@ -13,6 +13,8 @@ Broker:
|
||||
restored from persistence. Closes #1464.
|
||||
- Fix messages with an expiry interval being sent without an expiry interval
|
||||
property just before they were expired. Closes #1464.
|
||||
- Fix TLS Websockets clients not receiving messages after taking over a
|
||||
previous connection. Closes #1489.
|
||||
|
||||
Client library:
|
||||
- Fix publish properties not being passed to on_message_v5 callback for QoS 2
|
||||
|
@ -160,6 +160,9 @@ int connect__on_authorised(struct mosquitto_db *db, struct mosquitto *context, v
|
||||
}
|
||||
}
|
||||
|
||||
if(context->clean_start == true){
|
||||
sub__clean_session(db, found_context);
|
||||
}
|
||||
session_expiry__remove(found_context);
|
||||
will_delay__remove(found_context);
|
||||
will__clear(found_context);
|
||||
|
Loading…
Reference in New Issue
Block a user