Browse Source

[Minor] Do not add stats for invalid requests

tags/3.3
Vsevolod Stakhov 2 years ago
parent
commit
29c1bc04e6
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/controller.c

+ 1
- 0
src/controller.c View File

@@ -2174,6 +2174,7 @@ rspamd_controller_handle_scan (struct rspamd_http_connection_entry *conn_ent,
task->resolver = ctx->resolver;

if (!rspamd_protocol_handle_request (task, msg)) {
task->flags |= RSPAMD_TASK_FLAG_SKIP;
goto end;
}


Loading…
Cancel
Save