disabled removing client if no heartbeat is received. we don't

want that while testing because it might hide bugs.
This commit is contained in:
crs 2002-07-01 13:01:16 +00:00
parent 684ac64742
commit a0eba4c337
1 changed files with 2 additions and 0 deletions

View File

@ -48,10 +48,12 @@ CServerProtocol1_0::run()
// check if client has stopped sending heartbeats // check if client has stopped sending heartbeats
if (n == (UInt32)-1) { if (n == (UInt32)-1) {
/* FIXME -- disabled to avoid masking bugs
if (heartTimer.getTime() > kHeartDeath) { if (heartTimer.getTime() > kHeartDeath) {
log((CLOG_NOTE "client \"%s\" is dead", getClient().c_str())); log((CLOG_NOTE "client \"%s\" is dead", getClient().c_str()));
return; return;
} }
*/
continue; continue;
} }