[tor-bugs] #20906 [Core Tor/Tor]: SocksPorts and ControlPorts should be stored in a set, not a list

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Dec 6 22:52:28 UTC 2016


#20906: SocksPorts and ControlPorts should be stored in a set, not a list
-----------------------------+------------------------------------
 Reporter:  arthuredelstein  |          Owner:
     Type:  defect           |         Status:  new
 Priority:  Medium           |      Milestone:  Tor: 0.3.0.x-final
Component:  Core Tor/Tor     |        Version:
 Severity:  Normal           |     Resolution:
 Keywords:  tbb-wants        |  Actual Points:
Parent ID:                   |         Points:  0.2
 Reviewer:                   |        Sponsor:
-----------------------------+------------------------------------
Changes (by dgoulet):

 * points:   => 0.2
 * milestone:   => Tor: 0.3.0.x-final


Comment:

 Ok, once we've parsed a port, we need to validate if it's already in the
 list. Moving to a set might require quite the patch but validating that we
 have a duplicate in the list could be shorter path.

 Putting this one in 030 but it could be differed if we are a bit
 overwhelmed by the amount of things that goes in 030. What is the
 consequence of differing to 031 for TBB?

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


More information about the tor-bugs mailing list