commit 844f9be: [Fix] Fix hang in fuzzy_learn when explicit rotation is set
Vsevolod Stakhov
vsevolod at highsecure.ru
Tue Aug 20 17:21:04 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-08-20 18:14:28 +0100
URL: https://github.com/rspamd/rspamd/commit/844f9bee3784199acc892e3955d86a4be9f5963d (HEAD -> master)
[Fix] Fix hang in fuzzy_learn when explicit rotation is set
---
src/plugins/fuzzy_check.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
More information about the Commits
mailing list