]> source.dussan.org Git - rspamd.git/commit
[Rework] Rework and simplify rbl plugin
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 29 Aug 2016 16:51:32 +0000 (17:51 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 29 Aug 2016 17:13:00 +0000 (18:13 +0100)
commitf05518ae5c1711bd0efc1c835e9c6cdd9ff0b163
tree604bbf06dd818f0ecde407aadc760c1ebd4c464b
parent80b01286082b81035386dde0c099634f78a19cf0
[Rework] Rework and simplify rbl plugin

1. Use functional for break/continue
2. Split filtering and processing stage
3. Reduce verify complexity by using callback closure
4. Do not send multiple requests for the same DNS name
src/plugins/lua/rbl.lua