mirror of
https://github.com/epi052/feroxbuster.git
synced 2026-05-27 08:42:04 -03:00
Merge pull request #94 from epi052/93-fix-progress-bar-counting
fixed progress bar being incremented too little
This commit is contained in:
@@ -599,7 +599,7 @@ pub async fn scan_url(
|
||||
.for_each_concurrent(CONFIGURATION.threads, |(resp, bar)| async move {
|
||||
match resp.await {
|
||||
Ok(_) => {
|
||||
bar.inc(1);
|
||||
bar.inc((CONFIGURATION.extensions.len() + 1) as u64);
|
||||
}
|
||||
Err(e) => {
|
||||
log::error!("error awaiting a response: {}", e);
|
||||
|
||||
Reference in New Issue
Block a user