diff options
author | venaas <venaas> | 2007-01-15 15:58:51 +0000 |
---|---|---|
committer | venaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2007-01-15 15:58:51 +0000 |
commit | e0ed5993dac615794f5320141359a2ca4a4c419d (patch) | |
tree | e20f1e2c3f2bd8f336d9c7924b8cc489f8b4ea9b /radsecproxy.c | |
parent | 736eeaf37e3e5387208f0c378198385f0d3ae79b (diff) |
code for cleaning up when tls client goes away
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@37 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.c')
-rw-r--r-- | radsecproxy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/radsecproxy.c b/radsecproxy.c index de59c12..6a763fa 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -1352,6 +1352,7 @@ int tlslistener(SSL_CTX *ssl_ctx) { client = find_client('T', (struct sockaddr *)&from, NULL); if (!client) { printf("ignoring request, not a known TLS client\n"); + shutdown(snew, SHUT_RDWR); close(snew); continue; } |