Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix heart beat problem in server/client/conn.go
Whenever the reading loop was reading data it had the side effect of reseting the *writeTimeout* timer used to send heart beat to the client (this was due to variable scope). If the timer was rested too much in a row the heart beat will not occurred and it will end up in the client disconnecting. Fix #66
- Loading branch information