[or-cvs] [torflow/master 49/92] Made FailureRedirect report redirect location in extra_info field of result

mikeperry at torproject.org mikeperry at torproject.org
Sat Aug 21 05:14:00 UTC 2010


Author: John M. Schanck <john at anomos.info>
Date: Sat, 31 Jul 2010 10:16:48 -0400
Subject: Made FailureRedirect report redirect location in extra_info field of result
Commit: b3d118e60f9a201dd7c016a3db749da4c7109b00

---
 NetworkScanners/ExitAuthority/soat.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/NetworkScanners/ExitAuthority/soat.py b/NetworkScanners/ExitAuthority/soat.py
index 6c34b56..457e136 100755
--- a/NetworkScanners/ExitAuthority/soat.py
+++ b/NetworkScanners/ExitAuthority/soat.py
@@ -1152,7 +1152,7 @@ class BaseHTTPTest(Test):
         plog("NOTICE", "Tor only HTTP "+str(pcode)+" redirect from "+address+" to "+str(pcontent))
         fail_reason = FAILURE_REDIRECT
         register = self.register_http_failure
-        extra_info = False
+        extra_info = True
       else:
         fail_reason = FAILURE_BADHTTPCODE+str(pcode)
         register = self.register_exit_failure
-- 
1.7.1




More information about the tor-commits mailing list