aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/task.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/task.c')
-rw-r--r--src/libserver/task.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/task.c b/src/libserver/task.c
index 860bb2b03..8eb0c7932 100644
--- a/src/libserver/task.c
+++ b/src/libserver/task.c
@@ -335,6 +335,7 @@ rspamd_task_process (struct rspamd_task *task,
/* Call write_socket to write reply and exit */
task->state = WRITE_REPLY;
}
+ task->s->wanna_die = TRUE;
}
else {
rspamd_lua_call_pre_filters (task);