cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_easy_init() when network is disabled

From: Joshua Kwan <jkwan_at_vmware.com>
Date: Mon, 27 Jul 2009 14:28:14 -0700

On Mon, Jul 27, 2009 at 02:01:24PM -0700, Mohun Biswas wrote:
> What happens when you use the curl.exe to get a file URL with the network
> disabled? It surely does a curl_easy_init().

Good call. It worked, so I tried an older version of our house-built
cURL DLL (MSVC style) that does not have c-ares built in. In this case
everything worked fine with the network disabled.

Daniel, would it be possible to defer initialization of c-ares until
after the URL is shown not to be a file:/// type URI?

Thanks.

-- 
Joshua Kwan
Received on 2009-07-27