mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +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
|
@ -186,6 +186,7 @@ impl FetchResponseListener for ImageContext {
|
|||
fn process_request_eof(&mut self) {}
|
||||
|
||||
fn process_response(&mut self, metadata: Result<FetchMetadata, NetworkError>) {
|
||||
debug!("got {:?} for {:?}", metadata.as_ref().map(|_| ()), self.url);
|
||||
self.image_cache
|
||||
.notify_pending_response(self.id, FetchResponseMsg::ProcessResponse(metadata.clone()));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue