cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: BUFFERSIZE on read callbacks.

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 18 Dec 2003 09:59:56 +0100 (CET)

On Wed, 17 Dec 2003, Wei Weng wrote:

> CURL allows the use of CURLOPT_BUFFERSIZE to fine-tune the buffer size read
> by the write callback functions, is there similar options for the read
> callbacks?

It doesn't really make any sense to do this for the read callbacks, as then
your application is in charge and you may fill in as much data you think is
fine (only just never more than what fits in the buffer).

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
Received on 2003-12-18