[tor-bugs] #8510 [Tor]: Add useful Hidden Service related events to the Tor control port

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Sep 27 13:53:34 UTC 2013


#8510: Add useful Hidden Service related events to the Tor control port
-------------------------+----------------------------------------------
     Reporter:  hellais  |      Owner:
         Type:  task     |     Status:  needs_review
     Priority:  normal   |  Milestone:  Tor: unspecified
    Component:  Tor      |    Version:
   Resolution:           |   Keywords:  tor-hs controller needs-proposal
Actual Points:           |  Parent ID:  #8993
       Points:           |
-------------------------+----------------------------------------------

Comment (by nickm):

 Generally, I would try doing controller tests by mocking the funtions that
 write to the controller connection (e.g, "send_control_event_string()"),
 and by invoking the controller code rather than the directory code.
 connection_dir_client_reached_eof is very badly factored; trying to test
 _that_ one without breaking it down into smaller functions first seems
 like an iffy choice to me.

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


More information about the tor-bugs mailing list