summaryrefslogtreecommitdiff
path: root/radsecproxy.h
diff options
context:
space:
mode:
authorvenaas <venaas>2008-06-12 10:52:00 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-06-12 10:52:00 +0000
commitb2415c4fab9c6b5cdf15bb007662493f0f433a95 (patch)
treea3ac0bffad34c4558f5523d785bb76f24ecb8e80 /radsecproxy.h
parent109d8786f2274471f2b5a5c5548fc8aded32504c (diff)
added idle timeout for dynamic servers and rewrote radtlsget. testing needed
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@291 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.h')
-rw-r--r--radsecproxy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/radsecproxy.h b/radsecproxy.h
index bd74f75..73c27bb 100644
--- a/radsecproxy.h
+++ b/radsecproxy.h
@@ -19,6 +19,7 @@
#define REQUEST_RETRIES 3
#define MAX_CERT_DEPTH 5
#define STATUS_SERVER_PERIOD 25
+#define IDLE_TIMEOUT 300
#define RAD_Access_Request 1
#define RAD_Access_Accept 2
#define RAD_Access_Reject 3
@@ -115,6 +116,7 @@ struct server {
pthread_t clientth;
uint8_t clientrdgone;
struct timeval lastconnecttry;
+ struct timeval lastreply;
uint8_t connectionok;
uint8_t lostrqs;
char *dynamiclookuparg;