diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-06-08 19:16:56 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-06-08 19:16:56 +0100 |
commit | e7a43c0fb358c1947fa3e21f2f2442408372d348 (patch) | |
tree | e895630f0a9c21d88da6ef95e077f3baaa3cea13 /src/rspamd_proxy.c | |
parent | e825c3d0d96836c341aeb252c95cf11bb7eab67b (diff) | |
download | rspamd-e7a43c0fb358c1947fa3e21f2f2442408372d348.tar.gz rspamd-e7a43c0fb358c1947fa3e21f2f2442408372d348.zip |
[Minor] Allow to set custom pool for a task
Diffstat (limited to 'src/rspamd_proxy.c')
-rw-r--r-- | src/rspamd_proxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamd_proxy.c b/src/rspamd_proxy.c index 1b30827e7..c86f73f88 100644 --- a/src/rspamd_proxy.c +++ b/src/rspamd_proxy.c @@ -1596,7 +1596,7 @@ rspamd_proxy_self_scan (struct rspamd_proxy_session *session) gsize len; msg = session->client_message; - task = rspamd_task_new (session->worker, session->ctx->cfg); + task = rspamd_task_new (session->worker, session->ctx->cfg, NULL); task->flags |= RSPAMD_TASK_FLAG_MIME; task->sock = -1; |