summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvenaas <venaas>2007-01-15 16:00:40 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2007-01-15 16:00:40 +0000
commit10b6ffd2053e96df55c3f7693980aa9dbe68ba16 (patch)
tree5dcfc5e89c210ad67b66f3f02ef5dd9436d83663
parente0ed5993dac615794f5320141359a2ca4a4c419d (diff)
code for cleaning up when tls client goes away
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@38 e88ac4ed-0b26-0410-9574-a7f39faa03bf
-rw-r--r--radsecproxy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index 6a763fa..bcb4301 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -1359,6 +1359,7 @@ int tlslistener(SSL_CTX *ssl_ctx) {
if (client->peer.ssl) {
printf("Ignoring incoming connection, already have one from this client\n");
+ shutdown(snew, SHUT_RDWR);
close(snew);
continue;
}