commit 9f3bd3f6a9c1b3155efe123ad9390c5365d76192 Author: Damian Johnson atagar@torproject.org Date: Sun Jan 26 19:21:59 2014 -0800
Resetting NEWNYM counter when wiping cache
If we attach to a new (or maybe previous) tor instance then we shouldn't carry over the timestamp we last issued a NEWNYM signal. --- stem/control.py | 1 + 1 file changed, 1 insertion(+)
diff --git a/stem/control.py b/stem/control.py index 22a1962..0b611f5 100644 --- a/stem/control.py +++ b/stem/control.py @@ -1833,6 +1833,7 @@ class Controller(BaseController):
with self._cache_lock: self._request_cache = {} + self._last_newnym = 0.0 self._geoip_failure_count = 0
def load_conf(self, configtext):
tor-commits@lists.torproject.org