diff options
Diffstat (limited to 'src/controller.c')
-rw-r--r-- | src/controller.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/controller.c b/src/controller.c index d27a2d1a1..e135ecdea 100644 --- a/src/controller.c +++ b/src/controller.c @@ -843,6 +843,7 @@ rspamd_controller_handle_learn_common ( session->task = task; session->cl = cl; session->is_spam = is_spam; + check_session_pending (task->s); return 0; } @@ -930,6 +931,7 @@ rspamd_controller_handle_scan (struct rspamd_http_connection_entry *conn_ent, } session->task = task; + check_session_pending (task->s); return 0; } |