mirror of
https://github.com/storytold/autocraft.git
synced 2026-12-01 10:33:55 +01:00
Connection cap, HTTP/2 stream cap, handshake/header/request/body/idle timeouts (also on the HTTP/1.1 fallback); 32 upstream and 8 git slots with 503 when full; upload-pack killed after 60 s without output. Index 404s are remembered for the TTL; crate misses stop below 2 GiB free; ENOSPC is logged as disk-full. An unreadable allowlist keeps the previous list and deletes nothing; a failed git fetch counts as an attempt and the existing mirror is served. POST checks repo, content type and encoding before reading the body. Crate files are opened before the answer starts. CrateVerifier no longer caches unknown crates.