aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/worker.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/worker.c b/src/worker.c
index 5c1fc396f..ba322d51e 100644
--- a/src/worker.c
+++ b/src/worker.c
@@ -115,7 +115,6 @@ rspamd_worker_body_handler (struct rspamd_http_connection *conn,
}
if (!rspamd_task_load_message (task, msg, chunk, len)) {
- rspamd_session_destroy (task->s);
return 0;
}