cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl question, Range support for http

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 25 Nov 2004 17:10:15 -0800

On Fri, Nov 26, 2004 at 12:49:11AM +0100, Goswin von Brederlow wrote:
> 3. Can I queue up a multitude of requests onto one easy_handler and
> then perform them all?
>
> I know there is the multi interface but that sounds more like
> downloading multiple files from various sources concurrently. I want
> to download them all sequentialy with only one connect to the
> server. But I don't want to send each request on its own and wait for
> the round-robin delay till the data arrives.
>
> I actualy want only one file but possibly a lot of Range statements
> which might have to be split up into multiple requests.

The multi interface is a natural way to handle HTTP pipelining, but libcurl
doesn't do that right now. It will reuse an existing easy handle, though,
which at least saves you the connection establishment overhead.

>>> Dan

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