cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_INFILESIZE and padded files

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 17 Jan 2007 09:09:51 +0100 (CET)

On Tue, 16 Jan 2007, Peter Seebach wrote:

>> Then you should probably provide a read callback that only sends that
>> amount of data to libcurl when it asks for data.
>
> I could, but I was trying to do this in a very lightweight way, and it
> seemed that there might be some convenient way to specify this through
> options.

I don't see how adding your own little read callback makes your code less
lightweight.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-01-17