You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Delete persisted subscriptions that are in subscription resumption state when a subscribeRequest command comes in with keepSubscription flag set to false from the same subscriber
The Matter specification is saying:
"If KeepSubscriptions is FALSE, all existing or pending subscriptions on the publisher for this
subscriber SHALL be terminated."
Currently only active readHandlers and corresponding persisted subscription were removed. The subscriptions
that were persisted and in subscription resumption mode, were kept in persistent storage, keeping the
subscription resumption mechanism active, so pending subscriptions were not terminated. This fixes, when a subscribeRequest
come in with keepSubscriptions flag set to false, these persisted non-active subscriptions can be deleted
as well and the subscription resumption mechanism can be stopped if no other subscription were resuming.
0 commit comments