cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: core from curl_easy_perform in 7.18.1

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 20 May 2008 10:05:46 -0700

On Tue, May 20, 2008 at 01:13:15PM +0530, Anil Kumar wrote:
> We have a runtime flag with application.
> If flag is enabled each curl_easy_perform is called from new thread (new
> thread is created each time a new request comes).
> so simultaneosely many threads run to get the response from server (to
> increase throughput). so multi thread environment in the system

Have you installed SSL callbacks as documented in
http://curl.haxx.se/libcurl/c/libcurl-tutorial.html#Multi-threading ?
Are you calling curl_global_init at the appropriate times? Are you linking
your app and libcurl with the correct thread-safe C run-time library?

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-05-20