diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-06-12 10:27:56 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-06-12 10:44:51 +0100 |
commit | afbf253dfec60164ab94f6003f6aa73e710cfbdd (patch) | |
tree | d3f4b39730e7d4e11c9dbea615d41da3b2808a20 /src | |
parent | 6e467d152108d6eb84a4dd63f689995c73443268 (diff) | |
download | rspamd-afbf253dfec60164ab94f6003f6aa73e710cfbdd.tar.gz rspamd-afbf253dfec60164ab94f6003f6aa73e710cfbdd.zip |
[Minor] Check task for being processed before return
Diffstat (limited to 'src')
-rw-r--r-- | src/rspamd_proxy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rspamd_proxy.c b/src/rspamd_proxy.c index 79065d1c7..fdad35f2d 100644 --- a/src/rspamd_proxy.c +++ b/src/rspamd_proxy.c @@ -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; } |