Files
podinfo/pkg/api/http
Stefan Prodan 302c092cce Fix panic on GET /chunked from integer overflow
HttpServerTimeout is a time.Duration (nanoseconds); the default-delay
branch scaled it by time.Second again, overflowing int64 to a negative
value and passing it to rand.Intn, which panics. The bare /chunked route
(no wait param) hit this on every request.

Convert the timeout to whole seconds in a guarded helper that keeps
rand.Intn's argument positive, and add a regression test.
2026-06-08 23:58:36 +03:00
..
2026-05-20 10:50:31 +03:00
2026-05-20 10:50:31 +03:00
2026-06-03 16:04:17 -04:00
2026-05-20 10:50:31 +03:00
2026-05-20 10:50:31 +03:00
2026-05-20 11:11:58 +03:00