[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #17867 [Tor]: Remove addresses and ports from dir_server_t and just use the ones in fake_status



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs