]> git.ipfire.org Git - thirdparty/curl.git/commit
hostip: remove the debug code for LocalHost
authorDaniel Stenberg <daniel@haxx.se>
Tue, 11 May 2021 07:49:31 +0000 (09:49 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 11 May 2021 14:33:20 +0000 (16:33 +0200)
commitfa050ffd27524074660d0614d14e7dfd022c893b
treeafe4cd37639362bf13603e4a7da23fc22de90eb9
parent1a20689a56af29871a88c338ea0da3268038312c
hostip: remove the debug code for LocalHost

The Curl_resolv() had special code (when built in debug mode) for when
resolving the host name "LocalHost" (using that exact casing). It would
then get the host name from the --interface option instead.

This development-only feature was not used by anything (anymore) and we
have the --resolve feature if we want to play similar tricks properly
going forward.

Closes #7044
lib/hostip.c