Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mosquitto_client_state plugin function needed #2400

Open
jsopenrb opened this issue Dec 9, 2021 · 0 comments
Open

mosquitto_client_state plugin function needed #2400

jsopenrb opened this issue Dec 9, 2021 · 0 comments
Labels
Component: mosquitto-broker Type: Enhancement A new feature for a minor or major release.

Comments

@jsopenrb
Copy link

jsopenrb commented Dec 9, 2021

Please consider adding a client state getter for plugins.
My plugin caches ACL after auth and clears the cache after a disconnect. When a session is taken over the old client disconnect event happens after the new client auth which leads to the cache being cleared for the new connection. If the state is know then disconnect event can be skipped for the mosq_cs_duplicate state.

@ralight ralight added Type: Enhancement A new feature for a minor or major release. Component: mosquitto-broker labels May 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: mosquitto-broker Type: Enhancement A new feature for a minor or major release.
Projects
None yet
Development

No branches or pull requests

2 participants