[tor-commits] [ooni-probe/master] Include socksproxy address in HTTP based tests

art at torproject.org art at torproject.org
Thu Nov 22 10:27:23 UTC 2012


commit f8f1a0b561e5b0fecd80aee8ef865bbda1c012ca
Author: Arturo Filastò <art at fuffa.org>
Date:   Wed Nov 21 18:28:06 2012 +0100

    Include socksproxy address in HTTP based tests
---
 ooni/templates/httpt.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ooni/templates/httpt.py b/ooni/templates/httpt.py
index c62ea4d..47fbeb7 100644
--- a/ooni/templates/httpt.py
+++ b/ooni/templates/httpt.py
@@ -64,6 +64,7 @@ class HTTPTest(NetTestCase):
 
         sockshost, socksport = (None, None)
         if self.localOptions['socksproxy']:
+            self.report['socksproxy'] = self.localOptions['socksproxy']
             sockshost, socksport = self.localOptions['socksproxy'].split(':')
             socksport = int(socksport)
 





More information about the tor-commits mailing list