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

Add shutdown function to the socket manager #92

Open
Neverlord opened this issue May 10, 2021 · 0 comments
Open

Add shutdown function to the socket manager #92

Neverlord opened this issue May 10, 2021 · 0 comments

Comments

@Neverlord
Copy link
Member

Many work flows open a socket, read some amount of data, then write to the socket until completion before closing the connection. HTTP is a prime example. Currently, the socket manager has no shutdown function for closing a connection after flushing all buffers. It "kinda works" at the moment for most cases, because the socket managers ultimately get cleaned up when their reference count drops to 0. That is unless some other part of the application holds a reference to the manager in question.

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

No branches or pull requests

1 participant