[tor-bugs] #18873 [Core Tor/Tor]: Refactor circuit_predict_and_launch_new()

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Apr 22 11:03:59 UTC 2016


#18873: Refactor circuit_predict_and_launch_new()
------------------------------+--------------------------
     Reporter:  asn           |      Owner:
         Type:  defect        |     Status:  new
     Priority:  Low           |  Milestone:  Tor: 0.2.???
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  refactoring
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------
 The logic in `circuit_predict_and_launch_new()` is complex and can be
 refactored to be easier to understand and extend.

 sysrqb took a stab at refactoring it in #13239, but we should probably
 look at the whole function from the beginning and try to improve its
 codeflow in general.

 It's also likely that the behavior of the function can be improved and
 some research should be done in that area as well.

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


More information about the tor-bugs mailing list