[tor-bugs] #2075 [Tor Client]: Simplify get_predicted_ports logic in rephist

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Oct 15 18:04:30 UTC 2010


#2075: Simplify get_predicted_ports logic in rephist
------------------------+---------------------------------------------------
 Reporter:  nickm       |       Owner:     
     Type:  defect      |      Status:  new
 Priority:  trivial     |   Milestone:     
Component:  Tor Client  |     Version:     
 Keywords:              |      Parent:     
------------------------+---------------------------------------------------
 The old predicted ports code keeping two lists of items in synch by index.
 That makes for complexity!  Instead, it's far simpler to keep a single
 list whose elements are a struct containing the two items kept in the two
 old lists.

 Please review branch "refactor_pports" in my public repository.

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


More information about the tor-bugs mailing list