Files
coredns/plugin
Syed Azeez 6dca5b26d1 fix(lint): address G114 gosec findings in ready, pprof, and health plugins (#7798)
Replace http.Serve() with http.Server{} configured with timeouts to
address G114 gosec findings (HTTP server without timeouts). This
prevents potential slowloris attacks and resource exhaustion.

Changes:
- Add ReadTimeout, WriteTimeout, IdleTimeout (5s each) to HTTP servers
- Use srv.Shutdown(ctx) for graceful shutdown instead of ln.Close()
- Follow existing pattern from plugin/metrics

Fixes part of #7793

Signed-off-by: Azeez Syed <syedazeez337@gmail.com>
2026-01-01 11:25:37 +02:00
..
2025-12-29 14:01:27 -08:00
2025-09-10 13:08:27 -07:00
2025-09-10 13:08:27 -07:00
2025-12-17 19:08:59 -08:00
2025-09-01 18:05:15 -07:00
2025-12-17 19:08:59 -08:00
2025-12-17 19:08:59 -08:00
2020-11-05 15:02:07 +01:00
2025-09-10 13:08:27 -07:00
2025-12-29 14:01:27 -08:00
2025-09-21 08:17:35 -07:00
2024-03-07 14:24:38 -05:00
2019-08-24 18:14:25 +00:00
2018-07-19 16:23:06 +01:00
2020-09-24 18:14:41 +02:00