[stem/master] Resetting NEWNYM counter when wiping cache

27 Jan
2014
27 Jan
'14
3:23 a.m.
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):
4172
Age (days ago)
4172
Last active (days ago)
0 comments
1 participants
participants (1)
-
atagar@torproject.org