curl-library
Re: Need more information on handling ares with libcurl
Date: Tue, 28 Oct 2008 10:15:36 -0700
On Tue, Oct 28, 2008 at 04:59:38PM -0000, vishnu sankar wrote:
> I compiled libcurl with ares support for handling name resolves
> asynchronously.I havent set any options of timeout for curl. I configured the
> dns server with an invalid IP to test the asynchronous handling. But my main
> thread is blocked indefinetly. Can i get clarified for the below queries.
Are you using the multi API?
> 1. I am expecting the libcurl to return as ares should be handling it
> asyncronously. is my expectation right
For the most part, yes, using the multi API.
> 2. Should i use any other lib curl APIs for libcurl to handle the name resolves
> asynchronously.
The curl API is different, but Windows targets can use Windows' native
asyncronous resolver instead of C-ARES.
> 3. Can any one share more information of handling name resolving asynchronously
> using libcurl.
Have you looked through the documentation in the source package and on the
web site?
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2008-10-28