-
Notifications
You must be signed in to change notification settings - Fork 1
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
Easy way to handle disconnections? #14
Comments
Thank you for reporting! |
This seems to be a problem with how Crystal handles EPIPE. I've opened an issue because I gave up on SSE and moved to WebSockets but it keeps happening crystal-lang/crystal#9135 Interesting that it doesn't happen for you... are you on Linux or Mac? |
Thank you for sharing. I will subscribe to them.
I've tested it on Debian and Mac, and both environments finish a process without any output. |
How to repro the issue, exacly? |
I have a repo up to help reproduce it https://github.com/sardaukar/websocket_issue but I've worked around it now. Thanks anyway |
When I use
curl
to poll events, all goes well but as soon as I exitcurl
I get:Is there a best-practice on catching disconnections? Thanks!
The text was updated successfully, but these errors were encountered: