cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: 'curl_multi_perform' blocking?

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 31 Mar 2008 10:47:02 -0700

On Mon, Mar 31, 2008 at 10:08:29AM -0700, Tim McClarren wrote:
> I've noticed that if I construct a URL with a host that doesn't resolve,
> curl_multi_perform doesn't return for two full seconds when I add this URL
> into the 'multiHandle'.
>
> Is that expected? I would think curl_multi_perform should return almost
> immediately and that DNS should happen asynchronously, but this doesn't seem
> to be the case.

Have you built your libcurl with asynchronous DNS resolver support
(C-ARES)?

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-03-31