cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: how libcurl receives chunked data from http server?

From: Jerry G. Chiuan <jerry_at_oridus.com>
Date: Tue, 23 Sep 2003 12:10:04 -0700

> Just out of curiousity, wouldn't the transmission of "huge image data"
over
> a network (an assumption by me since you're using libcurl in the first
> place) connection make the time it takes to copy the data once into a
> contiguous memory area pale in comparison? The example provided does keep
> the data in memory, no files. It just happens to reallocate to make the
area
> grow as necessary. Making the growth optimized for a particular
application
> is an implementation-specific detail (not inside libcurl, inside your
> application).

It depends on whether you think it is *specific* or not
If a lot of applications using libcurl needed this feature, it is not
specific anymore
software is very flexible : )

Regds,
- Jerry

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