From 8bf2baa6bbb93760d6521012d4b51d1ea39dbd01 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 21 Jul 2016 09:20:32 +0100 Subject: [PATCH] [Fix] Reset master connection when retransmitting scan request --- src/rspamd_proxy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rspamd_proxy.c b/src/rspamd_proxy.c index 4e28e2076..151d1b731 100644 --- a/src/rspamd_proxy.c +++ b/src/rspamd_proxy.c @@ -1263,6 +1263,7 @@ retry: RSPAMD_HTTP_CLIENT, session->ctx->keys_cache, NULL); + session->master_conn->flags &= ~RSPAMD_BACKEND_CLOSED; session->master_conn->parser_from_ref = backend->parser_from_ref; session->master_conn->parser_to_ref = backend->parser_to_ref; -- 2.39.5