Suppress debug representations of network response bodies (#38789)

Adds a wrapper type for vectors that can contain large response bodies
to prevent flooding debug logs with the contents of those bodies.

Testing: Can't test debug log output.
Fixes: #37769

---------

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
Josh Matthews
2025-11-08 14:49:17 -05:00
committed by GitHub
parent eb6ca612c3
commit cc1552e8a7
14 changed files with 49 additions and 22 deletions

View File

@@ -298,7 +298,7 @@ impl FetchResponseListener for ImageContext {
if self.status.is_ok() {
self.image_cache.notify_pending_response(
self.id,
FetchResponseMsg::ProcessResponseChunk(request_id, payload),
FetchResponseMsg::ProcessResponseChunk(request_id, payload.into()),
);
}
}