summaryrefslogtreecommitdiff
path: root/bouncer/core.h
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2014-02-15 17:41:51 +0100
committerTreeki <treeki@gmail.com>2014-02-15 17:41:51 +0100
commit05568c427eff856d3049d4a18a707f1b0b358bd2 (patch)
treebc85fa13989c0f3c497612ecde599aa0fff663ce /bouncer/core.h
parentfce9ae6cb332bd2525d5e9e113f9e779ca214c64 (diff)
downloadbounce4-05568c427eff856d3049d4a18a707f1b0b358bd2.tar.gz
bounce4-05568c427eff856d3049d4a18a707f1b0b358bd2.zip
make session keepalive timeout configurable in config.ini
Diffstat (limited to '')
-rw-r--r--bouncer/core.h3
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();