mirror of https://github.com/searxng/searxng
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
b8c7c2c9aa
- counting requests in LONG_WINDOW and BURST_WINDOW is not needed when the request is validated by the link_token method [1] - renew a ping-key on validation [2], this is needed for infinite scrolling, where no new token (CSS) is loaded. / this does not fix the BURST_MAX issue in the vanilla limiter - normalize the counter names of the ip_limit method to 'ip_limit.*' - just integrate the ip_limit method straight forward in the limiter plugin / non intermediate code --> ip_limit now returns None or a werkzeug.Response object that can be passed by the plugin to the flask application / non intermediate code that returns a tuple [1] https://github.com/searxng/searxng/pull/2357#issuecomment-1566113277 [2] https://github.com/searxng/searxng/pull/2357#discussion_r1208542206 [3] https://github.com/searxng/searxng/pull/2357#issuecomment-1566125979 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> |
1 year ago | |
---|---|---|
.. | ||
answerers | ||
botdetection | 1 year ago | |
data | 1 year ago | |
enginelib | 1 year ago | |
engines | 1 year ago | |
infopage | 1 year ago | |
metrics | ||
network | ||
plugins | 1 year ago | |
search | 1 year ago | |
static | 1 year ago | |
templates/simple | 1 year ago | |
tools | 1 year ago | |
translations | 1 year ago | |
__init__.py | ||
autocomplete.py | ||
babel_extract.py | ||
compat.py | ||
exceptions.py | ||
external_bang.py | 1 year ago | |
external_urls.py | ||
flaskfix.py | ||
locales.py | 1 year ago | |
preferences.py | 1 year ago | |
query.py | ||
redisdb.py | ||
redislib.py | ||
results.py | ||
searxng.msg | ||
settings.yml | 1 year ago | |
settings_defaults.py | ||
settings_loader.py | ||
sxng_locales.py | 1 year ago | |
unixthreadname.py | ||
utils.py | ||
version.py | 1 year ago | |
webadapter.py | 1 year ago | |
webapp.py | 1 year ago | |
webutils.py | 1 year ago |