diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-03-25 19:13:20 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-03-25 19:13:20 +0300 |
commit | 99225e6499d32f2415f64cd9d5d4402d3fb78b30 (patch) | |
tree | d682bb084091326bb937fb10350af304cadec5b9 /src/plugins/surbl.c | |
parent | 417360dabf785feda65ceb18b05a743402117cdf (diff) | |
download | rspamd-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.c | 1 |
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++; } } |