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

Fixed the close_connection issue #1

Merged
merged 2 commits into from Sep 10, 2011
Merged

Fixed the close_connection issue #1

merged 2 commits into from Sep 10, 2011

Conversation

johnkchow
Copy link
Contributor

When I ran the demo, I noticed that the connections to the Redis server still persisted even after the websocket closed. I updated the Gemfile to pull the "em-hiredis" directly from mloughran's Github instead of RubyGems (the RubyGems's version didn't have a Client#close_connection method). Additionally, I updated your method call from "close_connection_after_writing" to "close_connection" which previously wouldn't close the connection.

Just wanted to say it was a great demo, and I hope these fixes will help the next developer who stumbles upon it :).

lifo added a commit that referenced this pull request Sep 10, 2011
Fixed the close_connection issue
@lifo lifo merged commit 05a90ee into lifo:master Sep 10, 2011
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.

None yet

2 participants