parsimony/internal/archive
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi 38552f8025 fix(app): add read, write and idle timeouts to the HTTP servers
- the API + admin UI server and the public web server get ReadTimeout 30s,
  WriteTimeout 60s and IdleTimeout 120s next to ReadHeaderTimeout
- the archive import extends its own read and write deadlines to 30
  minutes with http.ResponseController, so a big mbox is not cut
- tests: a stalled body and an idle connection are cut on both servers,
  an import longer than the default timeouts succeeds, fields are pinned
- README: document the limits and timeouts
2026-11-10 11:54:50 +01:00
..
archive.go fix(archive): bound the multipart walk and distrust extreme dates 2026-11-10 11:51:13 +01:00
archive_test.go fix(app): add read, write and idle timeouts to the HTTP servers 2026-11-10 11:54:50 +01:00
import.go feat(archive): import messages from an mbox 2026-11-09 17:14:46 +01:00
import_test.go feat(archive): import messages from an mbox 2026-11-09 17:14:46 +01:00