mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
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:
@@ -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()),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user