]> source.dussan.org Git - rspamd.git/commit
[Feature] Improve url redirector module
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 6 Feb 2017 14:32:19 +0000 (14:32 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 6 Feb 2017 14:32:19 +0000 (14:32 +0000)
commit8b7e04c87a0ee317fbcdccf47e32b208b6e67567
treead9f97810198fa14de1ac6821b1663fc6f9a952f
parent3d5d2d6f808761c2398d86f94e3cc18b320986c0
[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
contrib/http-parser/http_parser.h
src/libserver/redis_pool.c
src/plugins/lua/url_redirector.lua