]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix legacy clients support in proxy
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 11 Jul 2016 12:39:24 +0000 (13:39 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 11 Jul 2016 12:39:24 +0000 (13:39 +0100)
src/rspamd_proxy.c

index 99fec6cc565799700b74c1dfdb7ae92648574b14..dcf492a24552f8d57df506a3af5c266c4b6c5ed1 100644 (file)
@@ -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, "