mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-07-30 16:57:19 -04:00
* fix: stop the unread poller after the session ends refreshUnreads() polls nbUnreadsPerFeed every 2 minutes and never checks the response status, so once the session ends it keeps polling a dead session indefinitely. Each request is a 401 (auth proxy / OIDC image) or 403 (stock); behind fail2ban the repeated failures ban the client IP. Handle it like the other badAjax(status == 403) call sites: on a 401/403, reload to re-authenticate instead of retrying. * Enlarge HTTP 4xx status range --------- Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>