]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix spamc workaround
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 4 Jun 2016 19:12:49 +0000 (21:12 +0200)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 4 Jun 2016 19:12:49 +0000 (21:12 +0200)
src/rspamd_proxy.c

index c268896283fe71d4f04a4cacca54dc280b1fde96..5c542105e032e9cd393a471ac4eb81a85084b3bb 100644 (file)
@@ -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");