curl-library
Re: Always curl_easy_recv functions returns the 16K buffer.
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 2 Jun 2011 22:25:16 +0200 (CEST)
Date: Thu, 2 Jun 2011 22:25:16 +0200 (CEST)
On Thu, 2 Jun 2011, Raghavendra Prasad Bilamkar wrote:
> In our product we are using the libcurl (7.21.1 ) and libssl(1.0.0) to
> download the video contents over https connection. I observed that even
> though my supplied buffer length is 64K; every call to function
> "curl_easy_recv" returns only 16K buffer. Why?
Because libcurl only never uses 16K (CURL_MAX_WRITE_SIZE) buffers internally.
To make it support or use larger, you have to recompile libcurl.
I've been considering ways to allow applications to alter that buffer size
dynamically on demand, but no such work has begun or been done.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2011-06-02