aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-20 11:13:39 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-20 11:13:39 +0100
commitc9e03dc0fd1bddb460d1c51c40876e70a6c7970e (patch)
treeea19a535775b007d5d13da91875435c1b6252049 /src
parent8ce6a39f2a83dd9b9e781d2c3a21bd7a1951e4f3 (diff)
downloadrspamd-c9e03dc0fd1bddb460d1c51c40876e70a6c7970e.tar.gz
rspamd-c9e03dc0fd1bddb460d1c51c40876e70a6c7970e.zip
Check task pending if no events are registered.
Diffstat (limited to 'src')
-rw-r--r--src/libserver/task.c2
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;
}