[or-cvs] [torflow/master 40/92] Made FailureRedirects register as HTTP failures

mikeperry at torproject.org mikeperry at torproject.org
Sat Aug 21 05:13:59 UTC 2010


Author: John M. Schanck <john at anomos.info>
Date: Wed, 28 Jul 2010 03:04:00 -0400
Subject: Made FailureRedirects register as HTTP failures
Commit: 56df475afc709f335d244c3ff073c16db5c5bf95

---
 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 afc32b4..baab5d3 100755
--- a/NetworkScanners/ExitAuthority/soat.py
+++ b/NetworkScanners/ExitAuthority/soat.py
@@ -1140,7 +1140,7 @@ class BaseHTTPTest(Test):
       elif 300 <= pcode < 400: # Redirects
         plog("NOTICE", "Tor only HTTP "+str(pcode)+" redirect from "+address+" to "+str(pcontent))
         fail_reason = FAILURE_REDIRECT
-        register = self.register_exit_failure
+        register = self.register_http_failure
         extra_info = False
       else:
         fail_reason = FAILURE_BADHTTPCODE+str(pcode)
-- 
1.7.1




More information about the tor-commits mailing list