diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-07-29 14:22:54 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-07-29 14:22:54 +0100 |
commit | 75a15b475697ffc606d5d2fec9dca7e9a7a2818a (patch) | |
tree | 81499d13135cf8cfc4b21e81419df920b06e0c7c /src | |
parent | 28bdb6206b11655c66f7596314b19d26ccf06f38 (diff) | |
download | rspamd-75a15b475697ffc606d5d2fec9dca7e9a7a2818a.tar.gz rspamd-75a15b475697ffc606d5d2fec9dca7e9a7a2818a.zip |
[Fix] Do not stop monitored on dns errors
Diffstat (limited to 'src')
-rw-r--r-- | src/libutil/map.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/map.c b/src/libutil/map.c index edd4eaa1f..2e1eb5287 100644 --- a/src/libutil/map.c +++ b/src/libutil/map.c @@ -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); } } |