[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #8546 [Tor]: Make a copy-able connection-config type to limit copy burden of isolation flags, etc
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs