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

Shut down client actor on auth failure #140

Closed
mmacfadden opened this issue Jun 20, 2020 · 0 comments
Closed

Shut down client actor on auth failure #140

mmacfadden opened this issue Jun 20, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request server Issues related to the server
Milestone

Comments

@mmacfadden
Copy link
Contributor

When authentication fails, we send an auth failure back to the client. However, we essentially then wait for the client to disconnect. We would like to shut down the client actor as soon as we know the auth failure has been sent out. This is challenging because we don't actually know when that message is sent.

It seems like we need a way to know when a message has been sent to the connection actor from the protocol actor. Potentially using a future or something. This way we could take an action after we know the message has been sent.

@mmacfadden mmacfadden added enhancement New feature or request server Issues related to the server labels Jun 20, 2020
@mmacfadden mmacfadden self-assigned this Jun 20, 2020
@mmacfadden mmacfadden added this to the 1.0.0-rc.8 milestone Jun 20, 2020
@mmacfadden mmacfadden modified the milestones: 1.0.0-rc.8, 1.0.0-rc.9 Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request server Issues related to the server
Projects
None yet
Development

No branches or pull requests

1 participant