cURL / Mailing Lists / curl-library / Single Mail


RE: CURLOPT_BUFFERSIZE bytes or block ?

From: <>
Date: Tue, 13 Sep 2005 09:57:00 +0200

Thanks for your answers!
In fact, in the doc, it is not specified that the CURLOPT_BUFFERSIZE is a bytes value.

Thanks a lot.


-----Message d'origine-----
De : [] De la part de Daniel Stenberg
Envoyé : lundi 12 septembre 2005 22:32
À : libcurl development
Objet : Re: CURLOPT_BUFFERSIZE bytes or block ?

On Mon, 12 Sep 2005, 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:
Received on 2005-09-13