From 36d4a2dd759bd506044fc7bf6dcd35c3d4f7fb4a Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 25 Feb 2018 16:17:15 +0000 Subject: [PATCH] [Fix] Do not stop parsing headers on bad IP header --- src/libserver/protocol.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libserver/protocol.c b/src/libserver/protocol.c index 791938401..243e8a40c 100644 --- a/src/libserver/protocol.c +++ b/src/libserver/protocol.c @@ -318,7 +318,6 @@ rspamd_protocol_handle_headers (struct rspamd_task *task, IF_HEADER (IP_ADDR_HEADER) { if (!rspamd_parse_inet_address (&task->from_addr, hv->str, hv->len)) { msg_err_task ("bad ip header: '%V'", hv); - return FALSE; } debug_task ("read IP header, value: %V", hv); has_ip = TRUE; -- 2.39.5