diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-04 21:12:49 +0200 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-04 21:12:49 +0200 |
commit | c8bc6be028234a19693f9e59c98fa88d19a300df (patch) | |
tree | 6c90ca3bf82d4d6a21baa81f9fd03aa10c1e06d3 /src/rspamd_proxy.c | |
parent | 3a0579fd5ab6dd22745d780cc64754de3dcf861f (diff) | |
download | rspamd-c8bc6be028234a19693f9e59c98fa88d19a300df.tar.gz rspamd-c8bc6be028234a19693f9e59c98fa88d19a300df.zip |
[Minor] Fix spamc workaround
Diffstat (limited to 'src/rspamd_proxy.c')
-rw-r--r-- | src/rspamd_proxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamd_proxy.c b/src/rspamd_proxy.c index c26889628..5c542105e 100644 --- a/src/rspamd_proxy.c +++ b/src/rspamd_proxy.c @@ -1167,7 +1167,7 @@ proxy_client_finish_handler (struct rspamd_http_connection *conn, rspamd_http_connection_reset (session->client_conn); /* Reset spamc legacy */ - if (msg->method >= HTTP_CHECK) { + if (msg->method >= HTTP_SYMBOLS) { msg->method = HTTP_GET; session->is_spamc = TRUE; msg_info_session ("enabling legacy rspamc mode for session"); |