Re: Streaming data using Libcurl

2014-02-28 Thread Dan Fandrich
On Fri, Feb 28, 2014 at 09:02:35AM -0800, Sunny Khatri wrote: > Thanks for the response. > > Let me clarify the situation a bit more, > > What we have is a libcurl client talking and sending data to our server > (Jetty/ > SOLR). Now as soon as a chunk is posted via curl_easy_perform, SOLR tries

Re: Streaming data using Libcurl

2014-02-28 Thread Sunny Khatri
Thanks for the response. Let me clarify the situation a bit more, What we have is a libcurl client talking and sending data to our server (Jetty/SOLR). Now as soon as a chunk is posted via curl_easy_perform, SOLR tries to parse it and errors out in case the data was not a valid csv (not containin

Re: Streaming data using Libcurl

2014-02-27 Thread Fabian Frank
On Thu, Feb 27, 2014 at 3:43 PM, Sunny Khatri wrote: > > 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 encod