cURL / Mailing Lists / curl-library / Single Mail


Re: what is the best way to preform http post request every N seconds endlessly

From: Dan Fandrich <>
Date: Wed, 2 Apr 2008 22:52:42 -0700

On Thu, Apr 03, 2008 at 07:45:52AM +0200, Meir Yanovich wrote:
> ok if you look in this example you will see that the crul init
> function is created inside

curl_easy_init != curl_global_init

> the function thread ( like my example )
> so i guess im doing things right .but it still does not work, why ?

Good catch--that example is wrong. curl_global_init needs to be called
in main() in that case. That example program needs to be fixed (as does

>>> Dan

--              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-04-03