curl-library
Re: IDN
Date: Mon, 26 Apr 2004 14:26:22 +0200 (CEST)
On Mon, 26 Apr 2004, Gisle Vanem wrote:
> > We should also be careful to store the resolved address in the DNS cache
> > with one of the names and make sure we document that and adjust the code
> > accordingly.
>
> I was thinking of a macro like:
> #define TRUE_HOSTNAME(conn) \
> (conn->ace_hostname ? conn->ace_hostname : conn->hostname)
>
> And use that in Curl_resolv and "Host" header etc. But always use
> conn->hostname for display.
Yep, that would work nicely.
> I'm not sure it's a goodf idea to define USE_LIBIDN without making sure we
> libiconv.a/iconv.h also. libidn seems to require that. No surprise.
While we don't use libiconv.a/iconv.h directly, I don't think we need to check
for them specificly as libidn itself should check for those and setup them up
when that is built and installed.
Or am I wrong?
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2004-04-26