Repository navigation
HTTPX sometimes hangs on the banner? slow and stuck? #2199
|
Sometimes HTTPX just gets stuck on the banner and i have to wait like an hour or two for it to run correctly on vps too. Does HTTPX have a limit on how much you can scan per hour or something? |
Replies: 3 comments
No, HTTPX doesn't have a scan-per-hour limit. It could be getting delayed by DNS/network issues, VPS resource constraints, a very large list of targets that are slow to respond at all. Updating HTTPX and tuning timeouts may help. |
|
We couldn't reproduce a hang. httpx only prints hosts that respond, so a list of slow or unresponsive hosts looks stuck after the banner: each one waits up to |
|
Found it. When stdin is a pipe that never closes (ssh without a tty, a subprocess, a scheduler), httpx waited on it even with |
Found it. When stdin is a pipe that never closes (ssh without a tty, a subprocess, a scheduler), httpx waited on it even with
-uor-l, so it sat after the banner with no output and no-stats. Fixed in #2738, out in the next release. Until then, run it with< /dev/null.