aboutsummaryrefslogtreecommitdiffstats
path: root/src/worker_util.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-01-12 18:13:33 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-01-12 18:13:33 +0000
commit7c4b9f811fee8bc5b5e645a78c2fa5d4bb4e7dfb (patch)
treed72565e96198db9850982fc33760f6e1327d0ba5 /src/worker_util.c
parent67b932ad9786743dc032ff2adc3788c5aadd3933 (diff)
downloadrspamd-7c4b9f811fee8bc5b5e645a78c2fa5d4bb4e7dfb.tar.gz
rspamd-7c4b9f811fee8bc5b5e645a78c2fa5d4bb4e7dfb.zip
Start new HTTP based reply handler.
Diffstat (limited to 'src/worker_util.c')
-rw-r--r--src/worker_util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/worker_util.c b/src/worker_util.c
index 599d098c9..3da6a26a5 100644
--- a/src/worker_util.c
+++ b/src/worker_util.c
@@ -161,6 +161,9 @@ free_task (struct worker_task *task, gboolean is_soft)
rspamd_remove_dispatcher (task->dispatcher);
}
}
+ if (task->http_conn != NULL) {
+ rspamd_http_connection_free (task->http_conn);
+ }
if (task->sock != -1) {
close (task->sock);
}