summaryrefslogtreecommitdiffhomepage
path: root/ios/MullvadREST/AddressCache.swift
AgeCommit message (Collapse)AuthorFilesLines
2023-12-11Categorize files based on functionalitiesmojganii1-132/+0
2023-08-25Change CachedAddresses schema to invalidate cache when updating from 2023.2 ↵Andrej Mihajlov1-47/+34
to 2023.3 We had a couple of reports pointing at persistent timeouts and SSL errors in API communication using any transport. The user that happened to be using a broken bridge IP while on 2023.2 would keep using it indefinitely after update to 2023.3 because we used to move the currently used IP to the first position in the list. After update to 2023.3 we would only use that first IP.
2023-08-25AddressCache: use mutex lock in loadFromFile() and log all errors except ↵Andrej Mihajlov1-8/+15
when no file on disk
2023-06-20Enable reusing the shadowsocks connection once it is establishedBug Magnet1-5/+0
2023-06-13Replace Caching type with FileCache<Content: Codable>Andrej Mihajlov1-40/+36
2023-06-13Cache the last used shadowsocks configuration and reuse it subsequentlyBug Magnet1-65/+24
2023-05-12Simplify the AddressCache logic, it now filters results to only keep the ↵Bug Magnet1-239/+74
first one, does not rotate addresses anymore, and has tests written for.
2022-11-09Remove shared instancesAndrej Mihajlov1-5/+0
2022-10-31Add temporary AddressCache.sharedAndrej Mihajlov1-0/+5
2022-10-31AddressCache: add read-only modeAndrej Mihajlov1-125/+173
2022-10-20Move REST into separate frameworksajacl1-0/+305