[tor-bugs] #29211 [Core Tor/Tor]: Distribute config.c functionality across more modules

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


#29211: Distribute config.c functionality across more 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:  15             |   Reviewer:
      Sponsor:  Sponsor31-can  |
-------------------------------+--------------------
 The config.c module and the or_options_t type are a layering problem: They
 initialize many other modules, and provide what amounts to a set of global
 variables for the configuration settings.

 Instead, we could use the subsystems design to give modules the ability to
 declare and listen to various configuration options of their own, without
 requiring all the option handling to be in a single place.

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


More information about the tor-bugs mailing list