Remove all users of addr_port_lookup outside of address.c

This function has a nasty API, since whether or not it invokes the
resolver depends on whether one of its arguments is NULL.  That's a
good way for accidents to happen.

This patch incidentally makes tor-resolve support socks hosts on
IPv6.
This commit is contained in:
Nick Mathewson
2018-07-10 13:18:55 -04:00
parent c2ddb7b231
commit 2f657a1416
6 changed files with 30 additions and 90 deletions
+3
View File
@@ -0,0 +1,3 @@
o Minor features (tor-resolve):
- The tor-resolve utility can now be used with IPv6 SOCKS proxies.
Side-effect of the refactoring for ticket 26526.