imgntn/bethere_practice — Issue #57: Client Disconnect Detection
Author: miningold
Created: 2012-02-09 02:30:59+00:00
State: open
Labels: HIGH, redis, server

Currently I cannot find a way to detect if a client has disconnected from the server. I have scoured the SocketStream code but I could not find anything.

My Solution, so far, is to set an expiration on the redis data related to each user. However, this doesn't accurately detect when a user has left and should instead be used as a timeout to disconnect active users.