[READ-ONLY] Mirror of https://github.com/andrioid/ublproxy. andrioid.github.io/ublproxy
adblock adblock-plus-list adblocker privacy-tools proxy-server self-hosted
Something went wrong. Try again.
Lazily restore sessionMap from SQLite on authenticated API calls master
The in-memory sessionMap (IP -> credential) was lost on server restart, causing user=anon for all proxied requests until the user logged in again. Now authenticate() populates the sessionMap when it validates a Bearer token, so the proxy knows the user as soon as the portal page is loaded.
Author Andri Óskarsson Date (Feb 28, 2026, 1:33 PM UTC) Commit d2643d5d d2643d5d2ef9f42077e2f9310264dfcfe2f29985 Parent e67af2da e67af2da9162e7f9b55957d6e8bdb74ddd30a32b