From b8c0e967b6a76318c0877d292eb119d82e1bc6de Mon Sep 17 00:00:00 2001 From: lxsang Date: Wed, 31 Jul 2019 15:14:51 +0200 Subject: [PATCH] add data validity to scheduler --- cgi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cgi.c b/cgi.c index 4d71339..0d4b373 100644 --- a/cgi.c +++ b/cgi.c @@ -84,6 +84,7 @@ static char *get_cgi_bin(antd_request_t *rq) if (!tmp) return NULL; char *bin = (char *)dvalue(cgi_bin, tmp); + LOG("CGI CMD: %s\n", bin); free(tmp); return bin; } @@ -183,7 +184,7 @@ void *handle(void *data) char buf[BUFFLEN]; int status; antd_task_t *task = NULL; - task = antd_create_task(NULL, data, NULL); + task = antd_create_task(NULL, data, NULL,rq->client->last_io); task->priority++; list env_vars = NULL; char *bin = get_cgi_bin(rq);