Files
podinfo/pkg
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
..
2023-02-03 11:42:17 +02:00
2026-03-14 22:38:14 +01:00
2026-06-04 23:38:30 +03:00