summaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-01-19 18:30:23 +0100
committerFelix Fietkau <nbd@openwrt.org>2013-01-19 18:30:23 +0100
commit78f9f35e22c60d5748f0d69a202ca541c517f0bb (patch)
treee9be1da7f35f96d8b3bb3232cedc9a8324e3e709 /client.c
parent9cfe019ff4b6637e2bb7fbf5fc8db37abdd3c569 (diff)
add support for deferring script requests, limit maximum number of script calls to 3, maximum number of connections to 100
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'client.c')
-rw-r--r--client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/client.c b/client.c
index e1fdca4..7604d7e 100644
--- a/client.c
+++ b/client.c
@@ -73,6 +73,8 @@ static void uh_dispatch_done(struct client *cl)
{
if (cl->dispatch.free)
cl->dispatch.free(cl);
+ if (cl->dispatch.req_free)
+ cl->dispatch.req_free(cl);
}
static void client_timeout(struct uloop_timeout *timeout)