Commit 6c733c89 authored by venaas's avatar venaas Committed by venaas
Browse files

tlslistener changes

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@9 e88ac4ed-0b26-0410-9574-a7f39faa03bf
parent d35344ed
......@@ -590,8 +590,6 @@ void *clientrd(void *arg) {
lastconnecttry = peer->lastconnecttry;
buf = (peer->type == 'U' ? radudpget(peer->sockcl, &peer, NULL) : radtlsget(peer->sslcl));
if (!buf && peer->type == 'T') {
printf("retry in 60s\n");
sleep(60); /* should have exponential backoff perhaps, better do it inside radtlsget */
tlsconnect(peer, &lastconnecttry, "clientrd");
continue;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment