summaryrefslogtreecommitdiff
path: root/radsecproxy.h
diff options
context:
space:
mode:
authorvenaas <venaas>2007-01-25 15:18:26 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2007-01-25 15:18:26 +0000
commit085efd538b269e7d734040102c27df6c4f428174 (patch)
tree17ce0ecd67e1199f28b44ec1ad89ab83c2ab3673 /radsecproxy.h
parentd1fd8449df7f12c6798849a13f1474fd40d66c32 (diff)
implemented retries
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@41 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.h')
-rw-r--r--radsecproxy.h7
1 files changed, 4 insertions, 3 deletions
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;