curl-library
Re: User Supplied buffer
Date: Mon, 25 Apr 2011 13:01:36 -0700
On Mon, Apr 25, 2011 at 04:47:07PM +0200, Daniel Stenberg wrote:
> On Mon, 25 Apr 2011, Thippeswamy, Aravind wrote:
> >Ive recently started with libcurl and was trying to search for an
> >option where the response data is directly copied to a user
> >supplied buffer without any intermediate memcpy() .
>
> There's no such interface, no.
Item 1.1 in the TODO list is to implement a zero-copy interface.
The link there http://curl.haxx.se/dev/no_copy_callbacks.txt no longer exists
but clearly there was some thought given to a possible API.
>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-04-25