aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-10-31 19:22:03 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-10-31 19:22:03 +0000
commited0ef2df70c5f3c3028471ff526f72bd1ce520bb (patch)
treec31462b888e52da521b47625540d54c18d1a4e1d
parent03aa5adf4ba9b4ba08177e70968d534edea1bf05 (diff)
downloadrspamd-ed0ef2df70c5f3c3028471ff526f72bd1ce520bb.tar.gz
rspamd-ed0ef2df70c5f3c3028471ff526f72bd1ce520bb.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 6327b426b..b5288bdf5 100644
--- a/src/libutil/map.c
+++ b/src/libutil/map.c
@@ -755,6 +755,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");