Closed victorklos closed 11 years ago
I'm thinking it would make more sense for Reel to catch this and reraise Reel::SocketError
That would indeed make more sense. When will I learn not to "fix" stuff late in the evening? :-) Will get to it asap, thanks for your feedback
EPIPE should now be handled correctly
When a client refreshes the page, the websocket is reconnected and the old one becomes stale. The next time notification causes the server to write to an invalid pipe, resulting in Errno::EPIPE. That exception is caught now, letting the client terminate gently.