cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: write callback issues (was Re: A new problem)

From: Prasad J Pandit <prasad.pandit_at_comat.com>
Date: Tue, 8 Apr 2008 14:45:08 +0530 (IST)

On Tue, 8 Apr 2008, Daniel Stenberg wrote:
> libcurl uses recv() to read data from the socket and it will read as much as
> the OS delivers and then it sends that to the callback as it won't wait for
> more before it does this.

     In that case, could the trailing new-lines cause my problem?

> If you think the recv() call returns too little data you should perhaps debug
> your IP stack or look to what network setup changes you can do to iprove
> things.

     I don't see any reason why I should do that; Considering I'm using
libcurl(as instructed) to do the POST request, and just expect/want the
proper reply back, that's all.

> This is not libcurl's fault.

     Don't know.

Thanks!

--
Regards
     - Prasad
Received on 2008-04-08