Browse Source

[Fix] Do not stop monitored on dns errors

tags/1.7.0
Vsevolod Stakhov 6 years ago
parent
commit
75a15b4756
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/libutil/map.c

+ 2
- 0
src/libutil/map.c View File

@@ -971,6 +971,8 @@ rspamd_map_dns_callback (struct rdns_reply *reply, void *arg)
else {
/* We could not resolve host, so cowardly fail here */
msg_err_map ("cannot resolve %s", cbd->data->host);
cbd->periodic->errored = 1;
rspamd_map_periodic_callback (-1, EV_TIMEOUT, cbd->periodic);
}
}


Loading…
Cancel
Save