[tor-commits] r24539: {arm} Correcting a horrible caching error causing most GETINFO que (arm/trunk/src/util)

Damian Johnson atagar1 at gmail.com
Sat Apr 2 23:51:15 UTC 2011


Author: atagar
Date: 2011-04-02 23:51:15 +0000 (Sat, 02 Apr 2011)
New Revision: 24539

Modified:
   arm/trunk/src/util/torTools.py
Log:
Correcting a horrible caching error causing most GETINFO queries to be inadvertantly persisted.



Modified: arm/trunk/src/util/torTools.py
===================================================================
--- arm/trunk/src/util/torTools.py	2011-04-02 23:00:11 UTC (rev 24538)
+++ arm/trunk/src/util/torTools.py	2011-04-02 23:51:15 UTC (rev 24539)
@@ -56,7 +56,7 @@
               "nsEntry", "descEntry", "address", "bwRate", "bwBurst",
               "bwObserved", "bwMeasured", "flags", "parsedVersion", "pid",
               "pathPrefix", "startTime", "authorities", "circuits", "hsPorts")
-CACHE_GETINFO_PREFIX_ARGS = ("ip-to-country/")
+CACHE_GETINFO_PREFIX_ARGS = ("ip-to-country/", )
 
 # Tor has a couple messages (in or/router.c) for when our ip address changes:
 # "Our IP Address has changed from <previous> to <current>; rebuilding



More information about the tor-commits mailing list