cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: How to reduce the send buffer size in Curl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 28 Oct 2009 21:51:02 +0100 (CET)

On Mon, 26 Oct 2009, Sreedhar Kamishetti wrote:

> What is the option that should be used in curl_easy_setopt method for
> setting the send buffer size?

(curl-library is the libcurl mailing list)

Actually I was wrong, CURLOPT_BUFFERSIZE only changes the _receive_ buffer
size and not the send one. I've never seen anyone express a (legitimate)
desire to use a smaller send buffer before.

> Also, what is the define parameter in the header file. Is it
> "CURL_MAX_WRITE_SIZE".

Yes!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-10-28