Suspend progress bar when emitting CA information.

This commit is contained in:
Justus Winter 2024-02-13 14:22:55 +01:00
parent 5b622a7899
commit 3fce463ba6
No known key found for this signature in database
GPG Key ID: 686F55B4AB2B3386

View File

@ -637,7 +637,7 @@ impl Response {
match cert {
Ok(cert) => if ! certify {
certs.push(cert);
} else {
} else { pb.suspend(|| {
if let Some(ca) = response.method.ca(config)
{
certs.append(&mut certify_downloads(
@ -645,7 +645,7 @@ impl Response {
} else {
certs.push(cert);
}
},
})},
Err(e) =>
errors.push((response.method.clone(),
response.query.clone(), e)),