cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_BUFFERSIZE bytes or block ?

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 12 Sep 2005 22:32:29 +0200 (CEST)

On Mon, 12 Sep 2005, delphine.menjikoff_at_orsyp.com wrote:

> 1. The CURLOPT_BUFFERSIZE can increase the speed transfer?

No, why would it?

> Because, I don't see any improvement when I use this option.

There's nothing that says it would, is it? The docs says

   "The main point of this would be that the write callback gets called more
    often and with smaller chunks"

> 2. I want to know what is the unit of CURLOPT_BUFFERSIZE option?
>
> Because I always initialized this option with a bytes value.
>
> It's right to use it with bytes value or block value?

Bytes it is. I should clarify this in the docs.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-09-12