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

fix(socketio): Disconnect socket on app disconnect event #2896

Merged
merged 2 commits into from
Nov 27, 2022

Conversation

daffl
Copy link
Member

@daffl daffl commented Nov 27, 2022

This pull request ensures that a socket that is still connected will be disconnected on app.emit('disconnect', connection). This is the case when e.g. a client token expires while they are still connected.

Closes #2754

@netlify
Copy link

netlify bot commented Nov 27, 2022

Deploy Preview for feathers-dove canceled.

Name Link
🔨 Latest commit 49720d7
🔍 Latest deploy log https://app.netlify.com/sites/feathers-dove/deploys/6383ad5f7294bf0008d75cb6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handling of JWT expiration does not allow for proper logout on client nor terminate transport subscriptions.
1 participant