aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/http-parser/http_parser.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-04-23 11:58:34 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-04-23 11:58:34 +0100
commit50412eaeae8a33e79a0bfce7356f2d08fd4d29c7 (patch)
treea4606a541a7fc2a8be42100141ff41e45723f272 /contrib/http-parser/http_parser.c
parent2ab1ad669e4473d4b268169051000cd8340e5024 (diff)
downloadrspamd-50412eaeae8a33e79a0bfce7356f2d08fd4d29c7.tar.gz
rspamd-50412eaeae8a33e79a0bfce7356f2d08fd4d29c7.zip
Support legacy 'RSPAMC' protocol line.
Diffstat (limited to 'contrib/http-parser/http_parser.c')
-rw-r--r--contrib/http-parser/http_parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/http-parser/http_parser.c b/contrib/http-parser/http_parser.c
index 9aef5c185..129df138d 100644
--- a/contrib/http-parser/http_parser.c
+++ b/contrib/http-parser/http_parser.c
@@ -1218,6 +1218,7 @@ size_t http_parser_execute (http_parser *parser,
case s_req_spamc_start:
switch (ch) {
case 'S':
+ case 'R':
parser->state = s_req_spamc;
break;
case ' ':