cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Strange behavior with multi-interface and async DNS-resolve on windows

From: Lijo Antony <lta_at_one.com>
Date: Wed, 04 Apr 2012 11:05:21 +0400

On 04/04/2012 01:21 AM, Daniel Stenberg wrote:
> Are you using a libcurl built with c-ares for name resolves?

Yes. I am sorry that I missed to mention this.

> Very true. libcurl does not guarantee that every socket it uses is
> created with the callback. In the c-ares case, there's a fix to be made
> actually as c-ares provides a callback of its own (with
> ares_set_socket_callback, added in c-ares 1.6.0) so we can in fact fix
> this - assuming you are using c-ares here.

Awesome. I will look into the code, and hopefully provide a patch for this.

-lijo

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-04-04