From 085efd538b269e7d734040102c27df6c4f428174 Mon Sep 17 00:00:00 2001 From: venaas Date: Thu, 25 Jan 2007 15:18:26 +0000 Subject: implemented retries git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@41 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- radsecproxy.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'radsecproxy.h') diff --git a/radsecproxy.h b/radsecproxy.h index 5719070..dcf45ca 100644 --- a/radsecproxy.h +++ b/radsecproxy.h @@ -13,12 +13,13 @@ sizeof(struct sockaddr_in6)) #define MAX_PEERS 256 -/* MAX_REQUESTS is 256 due to Radius' 8 bit ID field */ +/* MAX_REQUESTS must be 256 due to Radius' 8 bit ID field */ #define MAX_REQUESTS 256 #define DEFAULT_TLS_SECRET "mysecret" #define DEFAULT_UDP_PORT "1812" #define DEFAULT_TLS_PORT "2083" -#define REQUEST_TIMEOUT 5 +#define REQUEST_EXPIRY 20 +#define REQUEST_RETRIES 3 #define MAX_CERT_DEPTH 5 #define RAD_Access_Request 1 @@ -51,7 +52,7 @@ struct options { char *udpserverport; }; -/* requests that a client will send */ +/* requests that our client will send */ struct request { unsigned char *buf; uint8_t tries; -- cgit v1.2.3