]> git.ipfire.org Git - thirdparty/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)
committerAndrew Lewis <nerf@judo.za.org>
Wed, 24 Jan 2018 09:53:18 +0000 (11:53 +0200)
Issue: #1898
MFH: rspamd-1.6

src/libutil/map.c

index cba9d798de3ae195163b8f81e45f1a0efa382f27..5f0a3427d121344e5d19599fd24843f372fe0051 100644 (file)
@@ -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");