aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/surbl.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-03-25 19:13:20 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-03-25 19:13:20 +0300
commit99225e6499d32f2415f64cd9d5d4402d3fb78b30 (patch)
treed682bb084091326bb937fb10350af304cadec5b9 /src/plugins/surbl.c
parent417360dabf785feda65ceb18b05a743402117cdf (diff)
downloadrspamd-99225e6499d32f2415f64cd9d5d4402d3fb78b30.tar.gz
rspamd-99225e6499d32f2415f64cd9d5d4402d3fb78b30.zip
Write to log number of dns requests per task.
Diffstat (limited to 'src/plugins/surbl.c')
-rw-r--r--src/plugins/surbl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c
index d3763822c..6266e61eb 100644
--- a/src/plugins/surbl.c
+++ b/src/plugins/surbl.c
@@ -605,6 +605,7 @@ make_surbl_requests (struct uri *url, struct worker_task *task,
param->host_resolve = memory_pool_strdup (task->task_pool, surbl_req);
debug_task ("send surbl dns request %s", surbl_req);
if (make_dns_request (task->resolver, task->s, task->task_pool, dns_callback, (void *)param, DNS_REQUEST_A, surbl_req)) {
+ task->dns_requests ++;
param->task->save.saved++;
}
}