Re: curl_easy_init() when network is disabled
Date: Mon, 27 Jul 2009 16:52:50 -0400
Joshua Kwan wrote:
> Is it possible to use curl_easy_init() when my network connection is disabled? The reason is that my app may be used to access file:/// URLs in the case of a disabled network connection and no access to our usual HTTP site.
> When I do this, I get NULL immediately back from curl_easy_init(), and no debug messages, though I'm not sure if I have a properly instrumented build of cURL.
> By the way, this is on Win32. I have not tried to see if this behavior is the same on Linux yet.
What happens when you use the curl.exe to get a file URL with the
network disabled? It surely does a curl_easy_init().
Received on 2009-07-27