[tor-bugs] #8607 [Stem]: Controller's cache isn't thread safe

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat May 11 22:41:53 UTC 2013


#8607: Controller's cache isn't thread safe
-----------------------------+----------------------------------------------
 Reporter:  atagar           |          Owner:  atagar      
     Type:  defect           |         Status:  needs_review
 Priority:  normal           |      Milestone:              
Component:  Stem             |        Version:              
 Keywords:  controller easy  |         Parent:              
   Points:                   |   Actualpoints:              
-----------------------------+----------------------------------------------
Changes (by axitkhurana):

  * status:  needs_revision => needs_review


Comment:

 Sorry for the delay, got busy with final exams.

  * Moved case insensitivity back to get_info and get_conf
    * Used _case_insensitive_lookup to get original cached params back
  * Rebased over current master resolving conflicts like 'Except as'
 instead of comma

 Commits:

  1. cache lock:
 https://github.com/axitkhurana/stem/commit/5132265177cc2ac95bf5d8b2edac4568c3a43be0
  2. get_cache_map:
 https://github.com/axitkhurana/stem/commit/7744c92770ff5f3ca54d7d6fcf66bdb593418cf8

 I hope this fixes everything :)

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


More information about the tor-bugs mailing list