aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamd_proxy.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-11 13:39:24 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-11 13:39:24 +0100
commit3b7a3f0a28b5edf3a844884b26184b989c7b7df5 (patch)
tree7d8da0b763f35ef9e49a6b81cbd46e338575578b /src/rspamd_proxy.c
parent05f32416595db719c5a5aeec267605910ce00a2d (diff)
downloadrspamd-3b7a3f0a28b5edf3a844884b26184b989c7b7df5.tar.gz
rspamd-3b7a3f0a28b5edf3a844884b26184b989c7b7df5.zip
[Fix] Fix legacy clients support in proxy
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 99fec6cc5..dcf492a24 100644
--- a/src/rspamd_proxy.c
+++ b/src/rspamd_proxy.c
@@ -1139,6 +1139,7 @@ proxy_backend_master_finish_handler (struct rspamd_http_connection *conn,
reply = rspamd_fstring_new ();
rspamd_ucl_torspamc_output (bk_conn->results, &reply);
rspamd_http_message_set_body_from_fstring_steal (msg, reply);
+ msg->method = HTTP_SYMBOLS;
}
else {
msg_warn_session ("cannot parse results from the master backend, "