[tor-bugs] #8546 [Tor]: Make a copy-able connection-config type to limit copy burden of isolation flags, etc
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Mar 20 20:32:13 UTC 2013
#8546: Make a copy-able connection-config type to limit copy burden of isolation
flags, etc
-----------------------------------------+----------------------------------
Reporter: nickm | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: 0.2.5.x-final
Component: Tor | Version:
Keywords: tor-client refactoring easy | Parent:
Points: | Actualpoints:
-----------------------------------------+----------------------------------
Right now, an increasingly large number of fields and flags are duplicated
between port_cfg_t, listener_connection_t, and (say) entry_connection_t.
Every field we add here needs to be added to every one of those types, and
needs to be explicitly copied from each to the next during construction
time.
It would make this code much more maintainable if there were a type that
we just copied from object to object here.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8546>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list