summaryrefslogtreecommitdiff
path: root/source/cl_main.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-01-03 17:13:54 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-01-03 17:13:54 +0000
commit73e5deb9a608910afc79e4c4deb1ce5c0c8b37c1 (patch)
treea77cb86999542ea1abb4e26d750147622d98f191 /source/cl_main.c
parent54a1f2e7fe6758bc6ade20e61179ffdd0c24b623 (diff)
Always reserve a client slot for dummy MVD observer.
Report uptime in server status page, as well as client connection time. Do not timeout loopback connections. Updated server documentation.
Diffstat (limited to 'source/cl_main.c')
-rw-r--r--source/cl_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/cl_main.c b/source/cl_main.c
index 3a2da20..65408d8 100644
--- a/source/cl_main.c
+++ b/source/cl_main.c
@@ -2505,6 +2505,9 @@ static void CL_CheckForReply( void ) {
#endif
static void CL_CheckTimeout( void ) {
+ if( NET_IsLocalAddress( &cls.netchan->remote_address ) ) {
+ return;
+ }
if( cls.netchan->last_received > com_localTime ) {
cls.netchan->last_received = com_localTime;
}