curl-library
Re: Libcurl post respond received data size from Server
Date: Wed, 19 Dec 2012 11:46:44 +0100 (CET)
On Wed, 12 Dec 2012, JALINDAR wrote:
> My development system communicate POST packet to the Server and to that
> POST packet, server replay with some data.
> This data size is just 4KB, not much. But it gives problem when actually
> data received. Data size received is less than the data sent from server.
>
> Here I have read that *CURL_MAX_WRITE_SIZE (the usual default is 16K) and
> with header set its 100KB.
I don't think CURL_MAX_WRITE_SIZE or the header maximum values are relevant.
You need to give us more details. What libcurl version are you using? If I
understand you correctly the actual POST sending works but the response is
being cut off, or did I misunderstand?
How do you receive the data, how does your write callback work?
> How to make sure that communication problem is not because of data size
> received limit.
libcurl has no data size receive limit!
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2012-12-19