[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 3c7c11e61793509deb090216feb370d979f50e40
Author: David Fifield <david@xxxxxxxxxxxxxxx>
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
 
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits