[curl/curl] fa050f: hostip: remove the debug code for LocalHost

Daniel Stenberg <[email protected]> Tue, 11 May 2021 07:34:07 -0700
Newsgroups gmane.comp.web.curl.cvs
Message-ID <curl/curl/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/curl/curl
  Commit: fa050ffd27524074660d0614d14e7dfd022c893b
      https://github.com/curl/curl/commit/fa050ffd27524074660d0614d14e7dfd022c893b
  Author: Daniel Stenberg <[email protected]>
  Date:   2021-05-11 (Tue, 11 May 2021)

  Changed paths:
    M lib/hostip.c

  Log Message:
  -----------
  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


_______________________________________________
curl-commits mailing list
[email protected]
https://cool.haxx.se/cgi-bin/mailman/listinfo/curl-commits