From: Vsevolod Stakhov Date: Wed, 9 Dec 2015 13:36:35 +0000 (+0000) Subject: Fix failing of upstream when connection failure X-Git-Tag: 1.1.0~365 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b7791089f0a68a1ea144b2f4def29828adb8e653;p=thirdparty%2Frspamd.git Fix failing of upstream when connection failure --- diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index 656b4e77ad..6057f1c11f 100644 --- a/src/plugins/fuzzy_check.c +++ b/src/plugins/fuzzy_check.c @@ -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 */