[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #2075 [Tor Client]: Simplify get_predicted_ports logic in rephist
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs