cURL / Mailing Lists / curl-library / Single Mail


Re: CURLOPT_BUFFERSIZE bytes or block ?

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

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-12