aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/fuzzy_check.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-08-20 18:14:28 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-08-20 18:14:28 +0100
commit844f9bee3784199acc892e3955d86a4be9f5963d (patch)
treed97cdc1f20426f45759bc762cdea7804bfb02248 /src/plugins/fuzzy_check.c
parent86bab0cc08c90f2c1a17c3c9addedc889a0500aa (diff)
downloadrspamd-844f9bee3784199acc892e3955d86a4be9f5963d.tar.gz
rspamd-844f9bee3784199acc892e3955d86a4be9f5963d.zip
[Fix] Fix hang in fuzzy_learn when explicit rotation is set
Diffstat (limited to 'src/plugins/fuzzy_check.c')
-rw-r--r--src/plugins/fuzzy_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c
index caa787ed7..5f34df4aa 100644
--- a/src/plugins/fuzzy_check.c
+++ b/src/plugins/fuzzy_check.c
@@ -2908,7 +2908,7 @@ register_fuzzy_controller_call (struct rspamd_http_connection_entry *entry,
/* Get upstream */
- while ((selected = rspamd_upstream_get (rule->servers,
+ while ((selected = rspamd_upstream_get_forced (rule->servers,
RSPAMD_UPSTREAM_SEQUENTIAL, NULL, 0))) {
/* Create UDP socket */
addr = rspamd_upstream_addr_next (selected);