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/core.h | |
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/core.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bouncer/core.h b/bouncer/core.h index 4bb266e..40f5b98 100644 --- a/bouncer/core.h +++ b/bouncer/core.h @@ -32,8 +32,6 @@ #define CLIENT_LIMIT 100 #define SERVER_LIMIT 20 -#define SESSION_KEEPALIVE 30 - #define SESSION_KEY_SIZE 16 #define PROTOCOL_VERSION 1 @@ -398,6 +396,7 @@ public: std::string bouncerPassword; int maxWindowMessageCount; + int sessionKeepalive; int execute(); |