[tor-bugs] #5519 [Vidalia]: Some improvements for torcontrol code (ControlSocket class)

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu Mar 29 10:06:36 UTC 2012


#5519: Some improvements for torcontrol code (ControlSocket class)
---------------------+------------------------------------------------------
 Reporter:  sebb     |          Owner:  sebb                
     Type:  defect   |         Status:  new                 
 Priority:  trivial  |      Milestone:                      
Component:  Vidalia  |        Version:  Vidalia: 0.3.1-alpha
 Keywords:           |         Parent:                      
   Points:           |   Actualpoints:                      
---------------------+------------------------------------------------------
 I think it could be nice to build abstract layer for tcp and local sockets
 to get rid of 'switch (method)' statements, a simple wrapper class could
 save us some code.
 Another thing is to add a destructor, because now allocated sockets are
 not deleted - they are parent-less and not "delete"d explicitly (I know
 those are created only once, but still).

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


More information about the tor-bugs mailing list