[tor-commits] [flashproxy/master] Use a longer timeout in httpget.
dcf at torproject.org
dcf at torproject.org
Thu Apr 26 20:27:48 UTC 2012
commit eda2ca7362a58c17ac552f868cb9c6e5593fc884
Author: David Fifield <david at bamsoftware.com>
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
More information about the tor-commits
mailing list