[tor-commits] [stem/master] Resetting NEWNYM counter when wiping cache
atagar at torproject.org
atagar at torproject.org
Mon Jan 27 03:23:07 UTC 2014
commit 9f3bd3f6a9c1b3155efe123ad9390c5365d76192
Author: Damian Johnson <atagar at 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):
More information about the tor-commits
mailing list