On Fri, 16 Oct 2009, Singh, Sharad Kumar [OS-IE] wrote:
I am using libcurl version 7.19.2 configured and compiled in default mode on a Linux box running fedora core 9. I am using four processes running simultaneously to send mutliple requests to Curl to download documents. Each process send around 10 requests per second. Occasionally, I get curl_easy_init to return NULL. The documentation says, "something went wrong and you cannot use the other curl functions".
As you can see in the code, it doesn't do a lot that can result in this problem. I figure you can add some trace outputs and/or use a debugger to further pinpoint exactly which of the few calls that fails for you.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
