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:
parent
684ac64742
commit
a0eba4c337
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue