httpx icon indicating copy to clipboard operation
httpx copied to clipboard

Stats information is not aligned with actual scan process - divided by 2

Open gal-nagli opened this issue 5 years ago • 5 comments

httpx version:

1.10

Current Behavior:

Scans seems to end correctly, yet the "stats" show that we only got to 50% of our domains, probably an issue with the stats implementation rather of httpx stopping at 50%

Expected Behavior:

Having the stats aligned with the end of the scan, so when it's 50% it should actually be 100%.

Steps To Reproduce:

  1. cat domains | httpx -stats
  2. observe that the scan ends when you reach 50%

-->

Anything else:

Screen Shot 2021-11-27 at 19 51 11

gal-nagli avatar Nov 27 '21 17:11 gal-nagli

most probably errors generated by max-host-error is not counted or aligned with stats, but this needs further investigation to confirm.

ehsandeep avatar Dec 01 '21 08:12 ehsandeep

@NagliNagli noticed you mentioned using httpx 1.1.0, at the time of creating this issue, 1.1.3 was the latest one and we just published v1.1.4, this specific issue may exist in the current version but make sure you always use the latest version to avoid facing issues that may be fixed in latest versions.

ehsandeep avatar Dec 01 '21 08:12 ehsandeep

Issue could not be replicated in the latest dev and master version. Stats shows that 100% of the domains are covered.

Screen Shot 2021-12-06 at 2 36 25 PM

LuitelSamikshya avatar Dec 06 '21 20:12 LuitelSamikshya

@NagliNagli Can you confirm if you are still able to reproduce this issue with latest release of httpx?

ehsandeep avatar Dec 07 '21 07:12 ehsandeep

@NagliNagli closing this issue as this is not reproducible in the latest version of httpx (1.1.4), feel free to ping me back if you have a working example to share.

ehsandeep avatar Dec 16 '21 08:12 ehsandeep