]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix hang in fuzzy_learn when explicit rotation is set
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 20 Aug 2019 17:14:28 +0000 (18:14 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 20 Aug 2019 17:14:28 +0000 (18:14 +0100)
src/plugins/fuzzy_check.c

index caa787ed78630f4f9ff3709dddc7c7e743a6029c..5f34df4aae1c304680e5e01ddfbc43b03c2f7562 100644 (file)
@@ -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);