-max-response-body-size
should be used to limit body download
#325
Labels
Status: Completed
Nothing further to be done with this issue. Awaiting to be closed.
Type: Bug
Inconsistencies or issues which will cause an issue or problem for users or implementors.
Describe the bug
From now,
-max-response-body-size
is only used to write a truncated file.However, IMHO it should be used at network level (only read() up-to -max-response-body-size). So httpx doesn't eat all bandwtidth if input has lot of URLs with multi-GB content.
Doing this would then save CPU-time on
-match-regex
, and save network bandwitdh overall whenmax-response-body-size
is usedThe text was updated successfully, but these errors were encountered: