From 9196c24668f478642b8f0b00a4c7fc1e3beeda00 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Mon, 26 Aug 2013 17:02:07 +0200 Subject: Time out on TLS clients not closing the connection properly. Patch by Fabian Mauchle. --- tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tls.c') 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; -- cgit v1.1