[tor-bugs] #17949 [Tor]: Make loopback address search more efficient

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Feb 10 20:56:51 UTC 2016


#17949: Make loopback address search more efficient
------------------------------------+------------------------------------
 Reporter:  teor                    |          Owner:  rl1987
     Type:  enhancement             |         Status:  needs_review
 Priority:  Medium                  |      Milestone:  Tor: 0.2.8.x-final
Component:  Tor                     |        Version:
 Severity:  Normal                  |     Resolution:
 Keywords:  easy TorCoreTeam201602  |  Actual Points:
Parent ID:  #17991                  |         Points:  medium
  Sponsor:                          |
------------------------------------+------------------------------------

Comment (by nickm):

 Hm. This makes a big pile of changes throughout the code, and adds an
 extra flag argument to get_interface_address6_list, which all callers must
 get right.  It doesn't actually seem to make loopback detection more
 efficient, except by avoiding some allocations. Also, I don't know any
 reason to think that loopback lookup is actually performance-critical.

 teor, rl1987 -- Are you sure this is a win?

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


More information about the tor-bugs mailing list