From b2415c4fab9c6b5cdf15bb007662493f0f433a95 Mon Sep 17 00:00:00 2001 From: venaas Date: Thu, 12 Jun 2008 10:52:00 +0000 Subject: 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 --- radsecproxy.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'radsecproxy.h') 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; -- cgit v1.2.3