mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Add useful debug output for HTTP response and image cache.
This commit is contained in:
parent
734cf9e1b3
commit
a241232c2b
4 changed files with 9 additions and 1 deletions
|
@ -530,6 +530,7 @@ impl ImageCache for ImageCacheImpl {
|
|||
(FetchResponseMsg::ProcessRequestBody, _) |
|
||||
(FetchResponseMsg::ProcessRequestEOF, _) => return,
|
||||
(FetchResponseMsg::ProcessResponse(response), _) => {
|
||||
debug!("Received {:?} for {:?}", response.as_ref().map(|_| ()), id);
|
||||
let mut store = self.store.lock().unwrap();
|
||||
let pending_load = store.pending_loads.get_by_key_mut(&id).unwrap();
|
||||
let (cors_status, metadata) = match response {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue