RE: Zero-copy CURLOPT_WRITEFUNCTION/CURLOPT_READFUNCTION

2014-09-18 Thread Daniel Stenberg
On Thu, 18 Sep 2014, Pashupati Kumar wrote: Are people using CURL library for storage traffic? I'm sure people have used libcurl for just about any purpose that involves network data transfers. I don't think "storage traffic" is much different than a lot of other traffic, network and protoco

RE: Zero-copy CURLOPT_WRITEFUNCTION/CURLOPT_READFUNCTION

2014-09-18 Thread Pashupati Kumar
Hi Daniel, On Thu, 18 Sep 2014, Daniel Stenberg wrote: > On Thu, 18 Sep 2014, Pashupati Kumar wrote: > > > I am new to libcurI and still learning my ways around it. I have few > > questions on it. I discovered that user needs to copy the data in > > write call-back function and also the way our

Re: Zero-copy CURLOPT_WRITEFUNCTION/CURLOPT_READFUNCTION

2014-09-18 Thread Daniel Stenberg
On Thu, 18 Sep 2014, Pashupati Kumar wrote: I am new to libcurI and still learning my ways around it. I have few questions on it. I discovered that user needs to copy the data in write call-back function and also the way our application behave, it will end up doing copy during read call back f