[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] HAVE_CARES on Windows

From: Tim Rühsen
Subject: Re: [Bug-wget] HAVE_CARES on Windows
Date: Sun, 10 Apr 2016 20:29:36 +0200
User-agent: KMail/4.14.10 (Linux/4.4.0-1-amd64; KDE/4.14.14; x86_64; ; )

Hi Gisle,

thanks for the fix.

Am Samstag, 9. April 2016, 21:58:18 schrieb Gisle Vanem:
> I have tried building latest Wget with '-DHAVE_LIBCARES'
> and all resolve attempts failed due to Gnulib's select()
> is not compatible with the socket-number(s) returned from
> a normal C-ares library on Windows.

As Eli, I would like to know a few more details.
Is it possible to make c-ares return the 'native' socket numbers to not get in 
conflict with gnulib ?

> But it seems strange to me that w/o the '--dns-servers' option
> it falls back to good old 'gethostbyname_with_timeout_callback()'
> method. Shouldn't the use of C-ares's wait_ares() be default w/o
> this option? I must be missing something.

It was not my intention to replace all 'the good old' methods, as long as they 
work. C-ares is just used for functionality that libc (and/or libresolv) does 
not provide. Wget is still an official GNU tool and that implies that we try 
to use as much GNU software/libraries/code as possible. 

Regards, Tim

Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]