curl-library
Re: Strange behavior with multi-interface and async DNS-resolve on windows
Date: Thu, 05 Apr 2012 16:22:56 +0400
On 04/04/2012 11:05 AM, Lijo Antony wrote:
> On 04/04/2012 01:21 AM, Daniel Stenberg wrote:
>> 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.
>
Man page for ares_set_socket_callback says,
This function sets a callback in the given ares channel handle. This
callback function will be invoked "after" the socket has been created,
and connected to the remote server.
It this man page correct?
-lijo
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-04-05