diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-06-09 14:49:05 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-06-09 14:49:05 +0100 |
commit | 3a3f36fa5ec1d9a08cc0365dcafc5dc5d2cc7d08 (patch) | |
tree | e2127d95aa917a83863e69d30293c3d84ec071b3 /src/worker.c | |
parent | 64ff1b265cbba1cdf5f0c549690c971ec4b933fa (diff) | |
download | rspamd-3a3f36fa5ec1d9a08cc0365dcafc5dc5d2cc7d08.tar.gz rspamd-3a3f36fa5ec1d9a08cc0365dcafc5dc5d2cc7d08.zip |
Fix DNSless run.
Diffstat (limited to 'src/worker.c')
-rw-r--r-- | src/worker.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/worker.c b/src/worker.c index 3d9c7dabe..61a40d25b 100644 --- a/src/worker.c +++ b/src/worker.c @@ -147,6 +147,9 @@ rspamd_worker_finish_handler (struct rspamd_http_connection *conn, rspamd_inet_address_to_string (task->client_addr)); rspamd_session_destroy (task->s); } + else if (task->processed_stages & RSPAMD_TASK_STAGE_DONE) { + rspamd_session_pending (task->s); + } return 0; } |