httpx
httpx copied to clipboard
Include stats information with stream mode
httpx version:
1.1.4
Current Behavior:
When using httpx
together with -stream
and -stats
, stats don't actually show up.
Expected Behavior:
Statistics show up even when using -stream
and hitting a key.
Steps To Reproduce:
Run httpx -l domains.txt -stream -stats
and press any key to see that the statistics indicator doesn't work.
@Yardanico thanks for reporting this, this is not a bug, as stats are calculated over total data, and -stream
is supposed to be used for stdin or run time input, so in that case, the current stats
information can not be applied, but we will see what information or change we can make to print some meaningful information if stats
and stream
flag used together.