diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-20 11:13:39 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-20 11:13:39 +0100 |
commit | c9e03dc0fd1bddb460d1c51c40876e70a6c7970e (patch) | |
tree | ea19a535775b007d5d13da91875435c1b6252049 /src | |
parent | 8ce6a39f2a83dd9b9e781d2c3a21bd7a1951e4f3 (diff) | |
download | rspamd-c9e03dc0fd1bddb460d1c51c40876e70a6c7970e.tar.gz rspamd-c9e03dc0fd1bddb460d1c51c40876e70a6c7970e.zip |
Check task pending if no events are registered.
Diffstat (limited to 'src')
-rw-r--r-- | src/libserver/task.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libserver/task.c b/src/libserver/task.c index 2f7635561..033149804 100644 --- a/src/libserver/task.c +++ b/src/libserver/task.c @@ -399,6 +399,8 @@ rspamd_task_process (struct rspamd_task *task, task->state = WAIT_PRE_FILTER; } + check_session_pending (task->s); + return TRUE; } |