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

Issue #84 -- emit esl::end on socket::close #86

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ssinyagin
Copy link

net.Socket emits "end" only on successful closing, but it emits "close" in error conditions as well.

net.Socket emits "end" only on successful closing, but it emits "close" in error conditions as well.
@englercj
Copy link
Owner

englercj commented Jan 7, 2020

Thanks for tracking this down. Looks like this breaks one of the tests, can you look into why that is please?

@ssinyagin
Copy link
Author

seems like you're expecting connection::close while the socket is still alive. With my patch, the close event comes when the socket is done.

@englercj
Copy link
Owner

Makes sense, I'm happy to merge this once the tests are passing.

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.

2 participants