cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl and 'streamed' transfers

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 12 Nov 2008 00:29:18 +0100 (CET)

On Tue, 11 Nov 2008, Apurva Mehta wrote:

> All of this would mean that I could manage a transfer of arbitrary size
> without writing to disk and keep the memory overhead tight as well. Is it
> possible to achieve this behavior using libcurl and curl_multi ?

Sounds entirely feasable and not too hard to do with libcurl's multi
interface.

You'll only need to pause the download when your memory pool is filled up, and
you'll want to pause the upload if you run out of memory buffer. libcurl
supports these things already.

-- 
  / daniel.haxx.se
Received on 2008-11-12