[or-cvs] r21241: {torflow} Attempt to fix/workaround odd hang bug when we run out of ex (torflow/branches/stable/NetworkScanners/BwAuthority)
mikeperry at seul.org
mikeperry at seul.org
Thu Dec 17 09:53:35 UTC 2009
Author: mikeperry
Date: 2009-12-17 04:53:34 -0500 (Thu, 17 Dec 2009)
New Revision: 21241
Modified:
torflow/branches/stable/NetworkScanners/BwAuthority/bwauthority.py
Log:
Attempt to fix/workaround odd hang bug when we run out of exits.
Modified: torflow/branches/stable/NetworkScanners/BwAuthority/bwauthority.py
===================================================================
--- torflow/branches/stable/NetworkScanners/BwAuthority/bwauthority.py 2009-12-17 03:07:43 UTC (rev 21240)
+++ torflow/branches/stable/NetworkScanners/BwAuthority/bwauthority.py 2009-12-17 09:53:34 UTC (rev 21241)
@@ -231,6 +231,9 @@
def notlambda(this):
cond.acquire()
this.new_nym = True
+ if this.selmgr.bad_restrictions:
+ plog("NOTICE", "Clearing bad restrictions with reconfigure..")
+ this.selmgr.reconfigure(this.current_consensus())
lines = this.c.sendAndRecv("SIGNAL CLEARDNSCACHE\r\n")
for _,msg,more in lines:
plog("DEBUG", msg)
More information about the tor-commits
mailing list