Christian Hesse firstname.lastname@example.org on Mon, 2022/01/24 12:48:
This implements a new configuration option 'CacheServer'. Adding a cache server makes it ignore the server error limit.
We have a struct that stores the server errors. Extend (and rename) this struct to store if this is a cache server. The errors are not increased for cache servers, thus they are never ignored.
This now skips cache servers for database file downloads. Is there a better way to detect a database file download?
BTW, I commented alpm_db_set_servers(). Is that actually used for anything?