cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: post data in a chunk to http server and also receive data from there to a chunk

From: Jerry G. Chiuan <jerry_at_oridus.com>
Date: Thu, 11 Sep 2003 12:28:17 -0700

Subject: Re: post data in a chunk to http server and also receive data from
there to a chunk
> > As I know, it requires one thread to be launched to execute this
> > callback function, doesn't it ?
>
> All of the callbacks can run on the same thread.
>
>
> > is it expensive?
> libcurl is free ;-)
>
>
> > Why I would like to know more about it is cuz my application's
> > threads would send requests very extensively
>
> It sounds like you might want to look at the curl_multi_* interface.
> This will probably give as good performance as multi-threading, and
> is a lot easier to implement.

Hi, does it have any overhead? Is it light?
I know there is no free lunch : )

thanks a lot for your suggestion
- Jerry

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-09-13