[tor-bugs] #12205 [Tor]: Document magic numbers at entry_is_time_to_retry()

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Aug 19 19:32:51 UTC 2014


#12205: Document magic numbers at entry_is_time_to_retry()
-------------------------+--------------------------------
     Reporter:  asn      |      Owner:  rl1987
         Type:  defect   |     Status:  needs_review
     Priority:  trivial  |  Milestone:  Tor: 0.2.6.x-final
    Component:  Tor      |    Version:
   Resolution:           |   Keywords:  tor-guard
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+--------------------------------
Changes (by rl1987):

 * status:  needs_revision => needs_review


Comment:

 I refactored the aforementioned function using table approach:

 https://github.com/rl1987/tor/commits/bug12205_take2

 This seems to be begging for unit test though. Or is this function tested
 implicitly by test(s) of other function(s)?

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


More information about the tor-bugs mailing list