summaryrefslogtreecommitdiff
path: root/tls.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2013-08-26 17:02:07 +0200
committerLinus Nordberg <linus@nordberg.se>2013-09-02 13:54:41 +0200
commit9196c24668f478642b8f0b00a4c7fc1e3beeda00 (patch)
treeba5e3ea3586f2e681b9737ba3f686ae6a4e2010d /tls.c
parent2d867ce2e2f0cb8251e16f620a33312054270e8f (diff)
Time out on TLS clients not closing the connection properly.
Patch by Fabian Mauchle.
Diffstat (limited to 'tls.c')
-rw-r--r--tls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tls.c b/tls.c
index dc70977..90c3dc9 100644
--- a/tls.c
+++ b/tls.c
@@ -355,7 +355,7 @@ void tlsserverrd(struct client *client) {
}
for (;;) {
- buf = radtlsget(client->ssl, 0);
+ buf = radtlsget(client->ssl, IDLE_TIMEOUT * 3);
if (!buf) {
debug(DBG_ERR, "tlsserverrd: connection from %s lost", addr2string(client->addr));
break;