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

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



Author: John M. Schanck <john@xxxxxxxxxxx>
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