cURL / Mailing Lists / curl-library / Single Mail


curl_easy_init() when network is disabled

From: Joshua Kwan <>
Date: Mon, 27 Jul 2009 12:17:13 -0700

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.

Received on 2009-07-27