From: Vsevolod Stakhov Date: Tue, 31 Oct 2017 19:22:03 +0000 (+0000) Subject: [Fix] Plan new event on HTTP errors X-Git-Tag: 1.7.0~495 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed0ef2df70c5f3c3028471ff526f72bd1ce520bb;p=thirdparty%2Frspamd.git [Fix] Plan new event on HTTP errors Issue: #1898 MFH: rspamd-1.6 --- diff --git a/src/libutil/map.c b/src/libutil/map.c index 6327b426b8..b5288bdf57 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");