cURL / Mailing Lists / curl-library / Single Mail


Re: curl_easy_init() when network is disabled

From: Daniel Stenberg <>
Date: Mon, 27 Jul 2009 22:39:42 +0200 (CEST)

On Mon, 27 Jul 2009, 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.

I consider such behavior a bug (if it truly is only due to the lack of network

Received on 2009-07-27