aboutsummaryrefslogtreecommitdiffstats
path: root/do.sh
diff options
context:
space:
mode:
Diffstat (limited to 'do.sh')
-rw-r--r--do.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/do.sh b/do.sh
index 366d508..ef0ca01 100644
--- a/do.sh
+++ b/do.sh
@@ -84,9 +84,12 @@ elif [ "$1" == "ci-test" ]; then
docker-compose -f service/docker-compose.yml down
docker-compose -f checker/docker-compose.yml down
-elif [ "$1" == "host-local" ]; then
+elif [ "$1" == "host-socat" ]; then
RESULTDIR=service/data/uploads socat -x -v -T180 -s TCP-LISTEN:9090,nodelay,reuseaddr,fork \
EXEC:./run-proxy.sh,raw,pty,echo=0,stderr
+elif [ "$1" == "host-ncat" ]; then
+ RESULTDIR=service/data/uploads ncat -v -k -l -p 9090 \
+ -m 200 --no-shutdown -w10s -i180s -c "./run-proxy.sh"
elif [ "$1" == "parse-log" ]; then
python3 -c '
#!/usr/bin/env python3