]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Fix failing of upstream when connection failure
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 9 Dec 2015 13:36:35 +0000 (13:36 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 9 Dec 2015 13:36:35 +0000 (13:36 +0000)
src/plugins/fuzzy_check.c

index 656b4e77adf041d8d28f9458a6bfbecebac8ceda..6057f1c11f91191363ca2375f6cf0b566dac967b 100644 (file)
@@ -1548,6 +1548,7 @@ register_fuzzy_client_call (struct rspamd_task *task,
                                rspamd_upstream_name (selected),
                                errno,
                                strerror (errno));
+                       rspamd_upstream_fail (selected);
                }
                else {
                        /* Create session for a socket */