[tor-commits] [flashproxy/master] Added remote switch and some sleep statements

dcf at torproject.org dcf at torproject.org
Sun Jul 17 18:28:44 UTC 2011


commit 82ff35c7a0394e37c0fc030490c73afd9713b16d
Author: Jonathan <jdellithorpe at gmail.com>
Date:   Wed Jul 13 18:43:17 2011 -0700

    Added remote switch and some sleep statements
---
 experiments/01 |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/experiments/01 b/experiments/01
index 5b446b8..88e0565 100755
--- a/experiments/01
+++ b/experiments/01
@@ -42,14 +42,19 @@ echo "starting flash proxy client side..."
 i=1
 until [ $i -gt $NUM_CLIENTS ]; do
     let local_port=9000+i
-    google-chrome --app="http://localhost:1080/swfcat.swf?local=127.0.0.1:${local_port}&client=1&facilitator=127.0.0.1:4701"
+    firefox --remote "openURL(http://localhost:1080/swfcat.swf?local=127.0.0.1:${local_port}&client=1&facilitator=127.0.0.1:4701)"
     let i=i+1
     sleep 2
 done
 
+# Some connections take a long time to register with cirrus
+sleep 15
+
 # Start the flash proxy, server side
 echo "starting flash proxy server side..."
-google-chrome --app="http://localhost:1080/swfcat.swf?debug=1&facilitator=127.0.0.1:4701"
+firefox --remote "openURL(http://localhost:1080/swfcat.swf?debug=1&facilitator=127.0.0.1:4701)"
+
+sleep 15
 
 let query_fac_time=NUM_CLIENTS+2
 sleep ${query_fac_time}





More information about the tor-commits mailing list