cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Reducing CURL_MAX_WRITE_SIZE

From: Yang Tse <yangsita_at_gmail.com>
Date: Mon, 24 Oct 2011 17:01:02 +0200

Relative to CURL_MAX_WRITE_SIZE it may be interesting to remember our
'ADVISORY: libcurl data callback excessive length'
http://curl.haxx.se/mail/lib-2010-02/0075.html

Maybe it would be interesting to actually keep the amount of data
passed to the write callback limited by CURL_MAX_WRITE_SIZE and for
the header callback by the smaller of CURL_MAX_WRITE_SIZE and
CURL_MAX_HTTP_HEADER.

Or maybe establish some option which allows using app to limit the
amount of data the write and header callbacks may return.

-- 
-=[Yang]=-
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-10-24