#22311: authdir_mode_any_nonhidserv() is an obsolete concept --------------------------+--------------------- Reporter: arma | Owner: Type: defect | Status: new Priority: Medium | Milestone: Component: Core Tor/Tor | Version: Severity: Normal | Resolution: Keywords: easy | Actual Points: Parent ID: | Points: Reviewer: | Sponsor: --------------------------+---------------------
Comment (by arma): As a bonus, any call to {{{authdir_mode_handles_descs(options, -1)}}} can also be converted to just a check to authdir_mode(). Then if we like, authdir_mode_handles_descs(options, ROUTER_PURPOSE_BRIDGE) could become just authdir_mode_bridge(options). And authdir_mode_handles_descs(options, ROUTER_PURPOSE_GENERAL) could become just authdir_mode_v3(options). And authdir_mode_any_main() could disappear because we don't need it anymore. Maybe the other wrapper functions are now overly complexified too. Worth exploring! -- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22311#comment:1> Tor Bug Tracker & Wiki <https://trac.torproject.org/> The Tor Project: anonymity online _______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs