Watch
1
0
Fork
You've already forked pkg-proxy
1
mirror of https://github.com/git-pkgs/proxy.git synced 2026-08-01 01:58:09 -04:00
pkg-proxy/internal/config
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Andrew Nesbitt 0ae63066e2
Make upstream HTTP timeout configurable
Add http_timeout config option (and PROXY_HTTP_TIMEOUT env var) to set
the per-request timeout on the shared HTTP client used by protocol
handlers for upstream metadata fetches and pass-through file requests.
Defaults to the previous hardcoded 30s; "0" disables the timeout.

Fixes #187
2026-07-07 17:48:36 +01:00
..
config.go Make upstream HTTP timeout configurable 2026-07-07 17:48:36 +01:00
config_test.go Make upstream HTTP timeout configurable 2026-07-07 17:48:36 +01:00