[tor-commits] [flashproxy/master] Fix socat line, accidentally broken in a9dce418.

dcf at torproject.org dcf at torproject.org
Wed May 2 20:59:29 UTC 2012


commit 3c7c11e61793509deb090216feb370d979f50e40
Author: David Fifield <david at bamsoftware.com>
Date:   Wed May 2 13:55:53 2012 -0700

    Fix socat line, accidentally broken in a9dce418.
---
 experiments/switching/local-http-alternating.sh |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/experiments/switching/local-http-alternating.sh b/experiments/switching/local-http-alternating.sh
index 0d3eb08..ee2dd70 100755
--- a/experiments/switching/local-http-alternating.sh
+++ b/experiments/switching/local-http-alternating.sh
@@ -54,9 +54,8 @@ PIDS_TO_KILL+=($!)
 visible_sleep 2
 
 echo "Start socat."
-"$FLASHPROXY_DIR"/connector.py >/dev/null &
+"$SOCAT" TCP-LISTEN:2000,reuseaddr,fork SOCKS4A:127.0.0.1:dummy:0,socksport=9001 &
 PIDS_TO_KILL+=($!)
-echo $'POST / HTTP/1.0\r\n\r\nclient=:9000' | socat - TCP-CONNECT:127.0.0.1:9002
 visible_sleep 2
 
 





More information about the tor-commits mailing list