[tor-bugs] #17867 [Tor]: Remove addresses and ports from dir_server_t and just use the ones in fake_status
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Dec 16 01:10:19 UTC 2015
#17867: Remove addresses and ports from dir_server_t and just use the ones in
fake_status
-----------------------------+--------------------------------
Reporter: teor | Owner:
Type: enhancement | Status: new
Priority: Low | Milestone: Tor: 0.2.9.x-final
Component: Tor | Version:
Severity: Minor | Keywords: easy refactor
Actual Points: | Parent ID:
Points: | Sponsor:
-----------------------------+--------------------------------
We put copies of an AuthDir / FallbackDir's addresses and ports in
dir_server_t, and dir_server_t.fake_status. This is just asking for
mistakes initialising them.
We could refactor the code so that we always use the addresses and ports
in fake_status.
This is not particularly urgent, because dir_server_t is read-only.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17867>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list