-
Notifications
You must be signed in to change notification settings - Fork 777
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: httpx execution cannot be started without closing the standard input pipe #1509
Comments
@hktalent httpx already has stream support, try including the ....
a := re1.Split(`httpx -stream -title -websocket -method -server -location -ip -pipeline -fr -csp-probe -http2 -p 443,80 -nc -silent -td -cname -t 64 -json`, -1)
// existing test code
... Let me know if this doesn't work for you. |
@hktalent as @RamanaReddy0M mentioned for the time being this can be mitigated with |
@Mzack9999 |
@RamanaReddy0M thanks |
describe:
When executing an httpx command using exec.Command, I discovered that if the standard input pipe wt is not closed, httpx gets stuck and never starts execution. This prevents streaming and may cause memory overflow issues. This problem does not exist with the tlsx command.
Steps to reproduce:
Expected behavior:
Even if the standard input pipe wt is not closed, httpx should be able to start execution and process the input stream.
Actual behavior:
httpx gets stuck and fails to start execution.
Additional Information:
test code
The text was updated successfully, but these errors were encountered: