diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-02-06 14:32:19 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-02-06 14:32:19 +0000 |
commit | 8b7e04c87a0ee317fbcdccf47e32b208b6e67567 (patch) | |
tree | ad9f97810198fa14de1ac6821b1663fc6f9a952f /contrib/http-parser/http_parser.h | |
parent | 3d5d2d6f808761c2398d86f94e3cc18b320986c0 (diff) | |
download | rspamd-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.h | 1 |
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 |