[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #32343 [Core Tor/Tor]: circ: Add a HANDLE() to circuit_t
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs