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

Ensure we send a close frame unless the socket is already closed #16

Open
sanmiguel opened this issue Dec 15, 2014 · 1 comment
Open
Labels
Milestone

Comments

@sanmiguel
Copy link
Owner

As pr PR #15 encode_and_send/2 sometimes returns {error, closed}.

We should allow this in the case where we're trying to close, rather than asserting ok

@sanmiguel
Copy link
Owner Author

This is best solved by altering the FSM to include the CLOSING and CLOSED states as per #17

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

No branches or pull requests

1 participant