[tor-bugs] #21349 [Core Tor/Tor]: Split up very long functions in entrynodes.c

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jan 30 15:49:27 UTC 2017


#21349: Split up very long functions in entrynodes.c
------------------------------+------------------------------
     Reporter:  nickm         |      Owner:
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: unspecified
    Component:  Core Tor/Tor  |    Version:
     Severity:  Minor         |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+------------------------------
 Some functions in entrynodes.c are now pretty huge, especially:
   * sampled_guards_update_from_consensus()
   * entry_guards_update_primary()
   * select_entry_guard_for_circuit()

 It would be good for testing and maintenance to split them up.

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


More information about the tor-bugs mailing list