On Tue, 22 Jul 2025 19:40:23 -0300
Antonio Terceiro <[email protected]> wrote:

> TBH I don't want to commit to any specific search order. auto-apt-proxy
> tries to detect a proxy by sending HTTP requests to possible locations
> where a proxy might be. If that location DROPs packages (instead of e.g.
> REJECTing them), then the whole process lows down. If the targets just
> REJECT connections immediately insted of letting the client timeout,
> then whatever search order can be processed really quickly.

I just created an merge-request[1] which lowers the default timeout's to 1
second and also adds configuration parameters via apt.conf(5) to allow
changing those as well as changing the cache timeout for a new lookups
because in internal networks i don't believe that admins change the
ip's of their proxies/cachers that often so a higher timeout wouldn't hurt if
wanted.

[1] https://salsa.debian.org/debian/auto-apt-proxy/-/merge_requests/10

Reply via email to