]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Plan new event on HTTP errors
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 31 Oct 2017 19:22:03 +0000 (19:22 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 31 Oct 2017 19:22:03 +0000 (19:22 +0000)
Issue: #1898
MFH: rspamd-1.6

src/libutil/map.c

index 6327b426b81650fe155b8f3063663ef9b0649849..b5288bdf575c19611cef443f6611112ac824a275 100644 (file)
@@ -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");