diff options
author | Treeki <treeki@gmail.com> | 2014-02-15 17:41:51 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2014-02-15 17:41:51 +0100 |
commit | 05568c427eff856d3049d4a18a707f1b0b358bd2 (patch) | |
tree | bc85fa13989c0f3c497612ecde599aa0fff663ce /bouncer/client.cpp | |
parent | fce9ae6cb332bd2525d5e9e113f9e779ca214c64 (diff) | |
download | bounce4-05568c427eff856d3049d4a18a707f1b0b358bd2.tar.gz bounce4-05568c427eff856d3049d4a18a707f1b0b358bd2.zip |
make session keepalive timeout configurable in config.ini
Diffstat (limited to '')
-rw-r--r-- | bouncer/client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |