cURL / Mailing Lists / curl-library / Single Mail

curl-library

Streaming data using Libcurl

From: Sunny Khatri <sunny.kh03_at_gmail.com>
Date: Thu, 27 Feb 2014 15:43:33 -0800

Hi All,

I'm trying to use libcurl to stream data to the server. However, the
problem is that as soon as server receives a chunk (cur_easy_perform), it
tries to process that data, even though it's partial, which is expected
given chunked encoding is used which sets the the content-length for that
particular chunk.

Is there anything that needs to be set in the header to allow streaming of
data. Ideally we want data to be processed at server only when we have send
all the required data. Setting content-length is not an option as we don't
know in advance what the total size of the data would be.

Thanks
Sunny

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-02-28