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