From b14961abf5cff359049da398dd3c827427afd060 Mon Sep 17 00:00:00 2001 From: venaas Date: Thu, 3 Jul 2008 12:59:09 +0000 Subject: added options for retry delay and count and set defaults to 5s and 2 git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.1@296 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- radsecproxy.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'radsecproxy.h') diff --git a/radsecproxy.h b/radsecproxy.h index a8326cb..4bbbead 100644 --- a/radsecproxy.h +++ b/radsecproxy.h @@ -15,8 +15,8 @@ #define DEFAULT_TLS_SECRET "mysecret" #define DEFAULT_UDP_PORT "1812" #define DEFAULT_TLS_PORT "2083" -#define REQUEST_EXPIRY 20 -#define REQUEST_RETRIES 3 +#define REQUEST_RETRY_DELAY 5 +#define REQUEST_RETRY_COUNT 2 #define MAX_CERT_DEPTH 5 #define STATUS_SERVER_PERIOD 25 #define RAD_Access_Request 1 @@ -86,6 +86,8 @@ struct clsrvconf { regex_t *rewriteattrregex; char *rewriteattrreplacement; uint8_t statusserver; + uint8_t retrydelay; + uint8_t retrycount; uint8_t certnamecheck; SSL_CTX *ssl_ctx; struct rewrite *rewrite; -- cgit v1.1