httpx
crashes on services generating endless stream of data
#1964
Labels
Type: Bug
Inconsistencies or issues which will cause an issue or problem for users or implementors.
httpx version:
v1.6.8
Current Behavior:
httpx
hangs and the machine becomes OOM when hitting a service that generates an endless stream of data (memory usage keeps growing until crash).In my case, it is a CHARGEN UDP service running on my internet box (provider: freebox).
nmap
detection:httpx
command:Note that adding a
--timeout 1 --retries 0
will fix the issue, as well as restricting the max body size to read (-rstr 2000
) but it would be preferable to fix without as it hinders the actual issue.This is problematic in automatic workflows as any service running a char generator or yielding an endless stream of data will crash the machine the workflow is running on.
Expected Behavior:
httpx
should:OR (harder / possibly not feasible):
Steps To Reproduce:
httpx
:httpx -u <MYHOST>:8095
The text was updated successfully, but these errors were encountered: