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

[tor-commits] [flashproxy/master] Use a longer timeout in httpget.



commit eda2ca7362a58c17ac552f868cb9c6e5593fc884
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Thu Apr 26 10:05:41 2012 -0700

    Use a longer timeout in httpget.
---
 experiments/throughput/httpget.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/experiments/throughput/httpget.py b/experiments/throughput/httpget.py
index a08412b..acaa565 100755
--- a/experiments/throughput/httpget.py
+++ b/experiments/throughput/httpget.py
@@ -19,7 +19,7 @@ for o, a in opts:
         label = a
 
 try:
-    stream = urllib2.urlopen(args[0], timeout=10)
+    stream = urllib2.urlopen(args[0], timeout=100)
     start_time = time.time()
     while stream.read(BLOCK_SIZE):
         pass

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