projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77d5d46
)
Lower connection limit in listener_free, and nowhere else
author
Alan T. DeKok
<aland@freeradius.org>
Thu, 8 May 2014 20:33:21 +0000
(16:33 -0400)
committer
Alan T. DeKok
<aland@freeradius.org>
Thu, 8 May 2014 20:33:21 +0000
(16:33 -0400)
src/main/tls_listen.c
patch
|
blob
|
history
diff --git
a/src/main/tls_listen.c
b/src/main/tls_listen.c
index
dcda9bf
..
6b56def
100644
(file)
--- a/
src/main/tls_listen.c
+++ b/
src/main/tls_listen.c
@@
-77,18
+77,6
@@
static void tls_socket_close(rad_listen_t *listener)
listener->status = RAD_LISTEN_STATUS_EOL;
listener->tls = NULL; /* parent owns this! */
- if (sock->parent) {
- /*
- * Decrement the number of connections.
- */
- if (sock->parent->limit.num_connections > 0) {
- sock->parent->limit.num_connections--;
- }
- if (sock->client->limit.num_connections > 0) {
- sock->client->limit.num_connections--;
- }
- }
-
/*
* Tell the event handler that an FD has disappeared.
*/