[tor-bugs] #29210 [Core Tor/Tor]: Distribute control.c functionality across various modules

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jan 30 15:39:19 UTC 2019


#29210: Distribute control.c functionality across various modules
-------------------------------+--------------------
     Reporter:  nickm          |      Owner:  (none)
         Type:  task           |     Status:  new
     Priority:  Medium         |  Milestone:
    Component:  Core Tor/Tor   |    Version:
     Severity:  Normal         |   Keywords:
Actual Points:                 |  Parent ID:
       Points:  10             |   Reviewer:
      Sponsor:  Sponsor31-can  |
-------------------------------+--------------------
 The control.c module accesses, and is accessed by, many other modules: it
 represents a failure of modularity and layering.

 Instead, we should give control.c only the responsibility of marshalling
 and unmarshalling messages for the controller, and give individual modules
 the responsibility for publishing events and handling commands.

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


More information about the tor-bugs mailing list