Files
VictoriaMetrics/lib
Nikolay a29229a877 lib/promscrape: prevent unbounded scrape error body read
Previously, on non-200 HTTP status codes, lib/promscrape performed an
unbounded body read, which could potentially result in OOM.

This commit adds a maxScrapeSize limit to error response body reads,
protecting against malicious or misbehaving metrics endpoints.
2026-04-16 22:50:08 +02:00
..
2026-02-18 14:28:31 +01:00
2026-02-18 19:24:27 +01:00
2026-02-18 14:28:31 +01:00
2026-02-18 18:17:20 +01:00
2026-02-18 14:28:31 +01:00
2026-02-18 14:28:31 +01:00
2026-02-18 19:24:27 +01:00
2026-02-18 14:28:31 +01:00
2026-02-18 19:24:27 +01:00
2026-02-18 18:17:20 +01:00
2026-02-18 14:28:31 +01:00
2026-02-18 14:28:31 +01:00
2026-02-18 14:28:31 +01:00
2026-02-18 14:28:31 +01:00
2026-02-18 18:17:20 +01:00
2026-02-18 14:28:31 +01:00
2026-02-18 14:28:31 +01:00
2026-02-18 14:28:31 +01:00