Skip to content

Commit

Permalink
Time out on TLS clients not closing the connection properly.
Browse files Browse the repository at this point in the history
Patch by Fabian Mauchle.
  • Loading branch information
Linus Nordberg committed Sep 2, 2013
1 parent 2d867ce commit 9196c24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
crash when using dynamic discovery. Patch by Fabian Mauchle.
- Closing and freeing TLS clients properly. Patch by Fabian
Mauchle.
- Timing out on TLS clients not closing the connection properly.
Patch by Fabian Mauchle.

2012-10-25 1.6.2
Bug fixes (security):
Expand Down
2 changes: 1 addition & 1 deletion tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9196c24

Please sign in to comment.