| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: Info request about the zero copy interface
From: Legolas <legolas558_at_email.it>
Date: Sun, 04 Dec 2005 13:36:47 +0100
Daniel Stenberg ha scritto:
> On Thu, 1 Dec 2005, Legolas wrote:
- you have knowledge of a certain amount of pending data available
- libcurl currently handles an internal buffer to copy this data
Please correct my suppositions.
The basics of my previous explanations are these:
- receive data into a temporary buffer if the client does not need to
- receive data into an assigned buffer if the client needs an ordered
Both cases can be handled by libcurl simply calling a write callback of
void *write_buffer(void *custom_data, int desired_size);
Which returns the buffer pointer if *it is asserted* that the buffer is
Other readers' opinions are also welcome.
--
Giuseppe
Received on 2005-12-04
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info