]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
reject_bots: delay app call
authorEric Wong <e@80x24.org>
Tue, 2 Sep 2025 20:30:12 +0000 (20:30 +0000)
committerEric Wong <e@80x24.org>
Sat, 6 Sep 2025 18:36:07 +0000 (18:36 +0000)
commit7772b32046448b5407d9bbb2783b8aa0e6a34689
tree139a54690a3759416a1043c0be2cdd60cfdbadc4
parentf0b9f90a233876d832f4235b253adac88932746a
reject_bots: delay app call

We can save some cycles by delaying the potentially expensive
app invocation until after the PATH_INFO + user-agent check.
contrib/RejectBots.pm