src/server/safs/cgi.c

changeset 525
072d7794bcca
parent 524
9f1d30988231
child 526
6c06b845701a
--- a/src/server/safs/cgi.c	Fri May 24 12:57:34 2024 +0200
+++ b/src/server/safs/cgi.c	Fri May 24 19:43:53 2024 +0200
@@ -570,8 +570,8 @@
     handler->debug_finished = TRUE;
     
     if(handler->result == REQ_ABORTED && handler->process.pid != 0) {
-        log_ereport(LOG_FAILURE, "cgi-send: kill script: %s", handler->path);
-        killpg(handler->process.pid, SIGTERM);
+        log_ereport(LOG_FAILURE, "cgi-send: kill script: %s pid: %d", handler->path, (int)handler->process.pid);
+        killpg(handler->process.pid, SIGKILL);
     }
     
     if(--handler->events > 0) {

mercurial