Commit 9196c246 authored by Linus Nordberg's avatar Linus Nordberg

Time out on TLS clients not closing the connection properly.

Patch by Fabian Mauchle.
parent 2d867ce2
...@@ -12,6 +12,8 @@ ...@@ -12,6 +12,8 @@
crash when using dynamic discovery. Patch by Fabian Mauchle. crash when using dynamic discovery. Patch by Fabian Mauchle.
- Closing and freeing TLS clients properly. Patch by Fabian - Closing and freeing TLS clients properly. Patch by Fabian
Mauchle. Mauchle.
- Timing out on TLS clients not closing the connection properly.
Patch by Fabian Mauchle.
2012-10-25 1.6.2 2012-10-25 1.6.2
Bug fixes (security): Bug fixes (security):
......
...@@ -355,7 +355,7 @@ void tlsserverrd(struct client *client) { ...@@ -355,7 +355,7 @@ void tlsserverrd(struct client *client) {
} }
for (;;) { for (;;) {
buf = radtlsget(client->ssl, 0); buf = radtlsget(client->ssl, IDLE_TIMEOUT * 3);
if (!buf) { if (!buf) {
debug(DBG_ERR, "tlsserverrd: connection from %s lost", addr2string(client->addr)); debug(DBG_ERR, "tlsserverrd: connection from %s lost", addr2string(client->addr));
break; break;
......
Markdown is supported
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