From 05568c427eff856d3049d4a18a707f1b0b358bd2 Mon Sep 17 00:00:00 2001 From: Treeki Date: Sat, 15 Feb 2014 17:41:51 +0100 Subject: make session keepalive timeout configurable in config.ini --- bouncer/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bouncer/client.cpp') diff --git a/bouncer/client.cpp b/bouncer/client.cpp index ab133b6..deb3e7f 100644 --- a/bouncer/client.cpp +++ b/bouncer/client.cpp @@ -87,7 +87,7 @@ void Client::close() { SocketRWCommon::close(); if (authState == AS_AUTHED) - deadTime = time(NULL) + SESSION_KEEPALIVE; + deadTime = time(NULL) + netCore->sessionKeepalive; else deadTime = time(NULL) - 1; // kill instantly } -- cgit v1.2.3