-
-
Notifications
You must be signed in to change notification settings - Fork 403
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[core] improve ping and timeout handling
We should reset the timer on every recived message, because if we got a message the connection is working. Also, 60s is too low, so I doubled it. Some servers send pings in much larger intervals, so we should send pings ourselves if we didn't recive anything in a while
- Loading branch information
Elad Alfassa
committed
May 19, 2013
1 parent
9babfec
commit 632b291
Showing
2 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters