summaryrefslogtreecommitdiffstats
path: root/contrib/http-parser/http_parser.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-02-06 14:32:19 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-02-06 14:32:19 +0000
commit8b7e04c87a0ee317fbcdccf47e32b208b6e67567 (patch)
treead9f97810198fa14de1ac6821b1663fc6f9a952f /contrib/http-parser/http_parser.h
parent3d5d2d6f808761c2398d86f94e3cc18b320986c0 (diff)
downloadrspamd-8b7e04c87a0ee317fbcdccf47e32b208b6e67567.tar.gz
rspamd-8b7e04c87a0ee317fbcdccf47e32b208b6e67567.zip
[Feature] Improve url redirector module
- Use HEAD instead of GET - Limit body length - Check for cached results before testing them on HTTP - Really limit number of nested queries
Diffstat (limited to 'contrib/http-parser/http_parser.h')
-rw-r--r--contrib/http-parser/http_parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/http-parser/http_parser.h b/contrib/http-parser/http_parser.h
index 792931588..e2a0b4985 100644
--- a/contrib/http-parser/http_parser.h
+++ b/contrib/http-parser/http_parser.h
@@ -113,6 +113,7 @@ typedef int (*http_cb) (http_parser*);
/* SPAMC compatibility */ \
XX(26, SYMBOLS, SYMBOLS) \
XX(27, CHECK, CHECK) \
+ XX(28, METHOD_MAX, METHOD_MAX) \
XX(-1, INVALID, INVALID) \
enum http_method