[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs