Graceful shutdown of a golang HTTP server on ECS Fargate behind an ALB
gin's r.Run() has no timeouts and no signal handling, so every ECS deploy cut in-flight requests. Here is a golang http.Server with sane timeouts, a short drain delay and a shutdown budget that fits inside Fargate's 30 seconds, with tests.