[tor-bugs] #7713 [Stem]: Stem should invalidate GETCONF cache

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Dec 12 17:07:43 UTC 2012


#7713: Stem should invalidate GETCONF cache
--------------------+-------------------------------------------------------
 Reporter:  atagar  |          Owner:  atagar
     Type:  defect  |         Status:  new   
 Priority:  minor   |      Milestone:        
Component:  Stem    |        Version:        
 Keywords:          |         Parent:        
   Points:          |   Actualpoints:        
--------------------+-------------------------------------------------------
 Stem caches the result of GETCONF queries, but only updates its cache if
 SETCONF is done through that Controller. There could be other controllers
 that alter tor's configuration out from under us.

 Now that we have CONF_CHANGED events this should be easy enough to fix
 (#1692). The Controller class should add its own listener for CONF_CHANGED
 events that does cache updates similar to set_options().

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7713>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list