aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamd_proxy.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-21 09:20:32 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-21 09:20:32 +0100
commit8bf2baa6bbb93760d6521012d4b51d1ea39dbd01 (patch)
tree9093280d7b37cf87fbc2baa732a391db95496f67 /src/rspamd_proxy.c
parent9f7ac8960eb18e4cc152cd52f102f621010b9c36 (diff)
downloadrspamd-8bf2baa6bbb93760d6521012d4b51d1ea39dbd01.tar.gz
rspamd-8bf2baa6bbb93760d6521012d4b51d1ea39dbd01.zip
[Fix] Reset master connection when retransmitting scan request
Diffstat (limited to 'src/rspamd_proxy.c')
-rw-r--r--src/rspamd_proxy.c1
1 files changed, 1 insertions, 0 deletions
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;