cURL / Mailing Lists / curl-users / Single Mail

curl-users

How to reduce the send buffer size in Curl

From: Sreedhar Kamishetti <sreedhar.kamishetti_at_tropos.com>
Date: Fri, 23 Oct 2009 17:26:56 -0700

Hello,

 

How can I reduce the send buffer size in Curl before sending a file to a
HTTPS server?

 

Router where HTTPS Server is running is very memory constraint. So, we
cannot use the bigger values for send buffer size. I think by default it
is using 16k.

 

Is there a configurable option that I can use or if code change is
required, what is the easy way to change code and use it? Option is
preferable instead of hard coding because same curl can be used for
different HTTPS servers with different buffer sizes.

 

Thanks in advance for the help.

 

Thanks,

Sreedhar

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