-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
When you launch a tool that write into the stdout, but doesn't write a lot to information, Kapow! doesn't send the console information until the tools finish their execution.
Example:
nmap.pow:
kapow route add -X POST /nmap-stream - <<-'EOF'
{
nmap -Pn -T1 -n -p - -v $(kapow get /request/form/ip)
} | kapow set /response/stream
EOF
Curl call:
$ curl -v http://localhost:9001/nmap-stream -d "ip=127.0.0.1"
Also tried forcing HTTP2 in curl:
$ curl --http2 -v http://localhost:9001/nmap-stream -d "ip=127.0.0.1"
Curl doesn't receive any data until nmap finish.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working