[tor-bugs] #32994 [Core Tor/Tor]: Get all flag defaults from port_cfg_new()

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jan 20 06:47:04 UTC 2020


#32994: Get all flag defaults from port_cfg_new()
-------------------------+-------------------------------------------------
     Reporter:  teor     |      Owner:  (none)
         Type:  defect   |     Status:  new
     Priority:  Medium   |  Milestone:  Tor: unspecified
    Component:  Core     |    Version:
  Tor/Tor                |   Keywords:  technical-debt, tor-client, easy,
     Severity:  Normal   |  intro
Actual Points:           |  Parent ID:
       Points:  1        |   Reviewer:
      Sponsor:           |
-------------------------+-------------------------------------------------
 The Tor port flags code is needlessly complex. To change a default, you
 need to change:
 * port_cfg_new()
 * port_parse_config()
 * connection_listener_new()

 We should call port_cfg_new() for the defaults in all these cases.

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


More information about the tor-bugs mailing list