On Fri, 1 May 2009, Apurva Mehta wrote:

Hi, I was wondering if there is any way to specif the chunk size in HTTP uploads with chunked transfer-encoding (ie. with the "Transfer-encoding:chunked" header). It seems that the default chunk size is 128 bytes. I would like to increase this value and was wondering if there is any option I can specify (through libcurl or command line curl) to do this.

There is no particular default size, libcurl will "wrap" whatever the read function returns with the chunked transfer magic. And no, there's no way to change that other than to simply make your read callback return larger or smaller chunks.

--

 / daniel.haxx.se

Reply via email to