[tor-bugs] #33383 [Core Tor/Tor]: Do we actually need the orconn_ext_or_id_map?

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Feb 19 17:08:58 UTC 2020


#33383: Do we actually need the orconn_ext_or_id_map?
------------------------------+--------------------------------
     Reporter:  nickm         |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.4.4.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 So apparently we have this structure, orconn_ext_or_id_map, where we map
 from ext_orport identifiers to the corresponding orconn objects ... but
 nothing in our code (outside of the unit tests) actually looks anything up
 in this map.

 I can't remember -- is this a feature that we were planning to do
 something with if transports needed it in the future?  Or is this just
 dead code?

 Found while working on #33368.

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


More information about the tor-bugs mailing list