From a0eba4c33737f26b576b18c65543f41bcbed9dbb Mon Sep 17 00:00:00 2001 From: crs Date: Mon, 1 Jul 2002 13:01:16 +0000 Subject: [PATCH] disabled removing client if no heartbeat is received. we don't want that while testing because it might hide bugs. --- server/CServerProtocol1_0.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/CServerProtocol1_0.cpp b/server/CServerProtocol1_0.cpp index ad6f559d..7c673415 100644 --- a/server/CServerProtocol1_0.cpp +++ b/server/CServerProtocol1_0.cpp @@ -48,10 +48,12 @@ CServerProtocol1_0::run() // check if client has stopped sending heartbeats if (n == (UInt32)-1) { +/* FIXME -- disabled to avoid masking bugs if (heartTimer.getTime() > kHeartDeath) { log((CLOG_NOTE "client \"%s\" is dead", getClient().c_str())); return; } +*/ continue; }