summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-10-31 19:22:03 +0000
committerAndrew Lewis <nerf@judo.za.org>2018-01-24 11:53:18 +0200
commitf471100eb163d7192117beacfae8937f86d9aeb2 (patch)
treede64113c4585a7e255fb7126598b78fbf30feffd
parentb7c2dc3665c5df8c190cdbef3a813d5542e8b14c (diff)
downloadrspamd-f471100eb163d7192117beacfae8937f86d9aeb2.tar.gz
rspamd-f471100eb163d7192117beacfae8937f86d9aeb2.zip
[Fix] Plan new event on HTTP errors
Issue: #1898 MFH: rspamd-1.6
-rw-r--r--src/libutil/map.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/map.c b/src/libutil/map.c
index cba9d798d..5f0a3427d 100644
--- a/src/libutil/map.c
+++ b/src/libutil/map.c
@@ -687,6 +687,7 @@ read_data:
else {
msg_info_map ("cannot load map %s from %s: HTTP error %d",
bk->uri, cbd->data->host, msg->code);
+ goto err;
}
MAP_RELEASE (cbd, "http_callback_data");