]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Check task for being processed before return
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 12 Jun 2017 09:27:56 +0000 (10:27 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 12 Jun 2017 09:44:51 +0000 (10:44 +0100)
src/rspamd_proxy.c

index 79065d1c732d1f34d3aae80839bcc9d8210df96d..fdad35f2dac695648e3c96fd7f474e286022944b 100644 (file)
@@ -1649,6 +1649,8 @@ rspamd_proxy_self_scan (struct rspamd_proxy_session *session)
        session->master_conn->task = task;
        rspamd_task_process (task, RSPAMD_TASK_PROCESS_ALL);
 
+       rspamd_session_pending (task->s);
+
        return TRUE;
 }