curl-library
Re: [bagder/curl] 119f43: allow write callbacks to indicate OOM to libcurl
From: Yang Tse <yangsita_at_gmail.com>
Date: Mon, 26 Sep 2011 13:17:14 +0200
Date: Mon, 26 Sep 2011 13:17:14 +0200
2011/9/25 Daniel Stenberg wrote:
> I don't see any benefit from libcurl's point of view to know that a callback
> returns an error due to out of memory. Do you?
Yep, true. from libcurl's point of view it makes no difference.
To whom might make some difference is to app providing callback and
using it. App could wish to use different failure paths when libcurl
returns a write-error or an OOM-error. But certainly from libcurl's
point of view it makes no difference.
Removed from repo now.
-- -=[Yang]=- ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2011-09-26