[tor-bugs] #32343 [Core Tor/Tor]: circ: Add a HANDLE() to circuit_t

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Oct 30 15:18:17 UTC 2019


#32343: circ: Add a HANDLE() to circuit_t
------------------------------+--------------------------------
     Reporter:  dgoulet       |      Owner:  dgoulet
         Type:  enhancement   |     Status:  assigned
     Priority:  Medium        |  Milestone:  Tor: 0.4.3.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  tor-circuit
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 Overall better to start using handles instead of map lookup by GID which
 only works for origin circuit.

 A HANDLE in the `circuit_t` object would allow us for instance to put in
 the circuit reference into a pubsub message instead of its raw pointer
 that could be freed during a mainloop event preceding the pubsub
 callback(s).

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


More information about the tor-bugs mailing list