mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
net: Wait for underlying response body of filtered responses.
This commit is contained in:
parent
097c85e44d
commit
0d9ab894be
1 changed files with 1 additions and 1 deletions
|
@ -478,7 +478,7 @@ fn wait_for_response(response: &mut Response, target: Target, done_chan: &mut Do
|
|||
}
|
||||
}
|
||||
} else {
|
||||
let body = response.body.lock().unwrap();
|
||||
let body = response.actual_response().body.lock().unwrap();
|
||||
if let ResponseBody::Done(ref vec) = *body {
|
||||
// in case there was no channel to wait for, the body was
|
||||
// obtained synchronously via scheme_fetch for data/file/about/etc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue