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: Fri, 11 Apr 2008 13:11:45 +0530 (IST)

      Hello guys,

On Thu, 10 Apr 2008, Prasad J Pandit wrote:
> I think(not sure) it was my goof up; As between the two tests, to clear up
> some space on the `nc -k' terminal, (unknowingly)I would hit return/enter
> multiple times and...

     As it turns out, it is/was not entirely my goof up. Now I'm testing my
program with the real Tomcat web server. And my *second call* to
curl_easy_perform(..) doing HTTP POST, returns me Curlcode of 18(ie.
CURL_PARTIAL_FILE), but the server does receives my request in its
entirety.

     Also apparently recv_data(..) is *not* being called by libcurl, as a
result of which, I don't receive any response back. I tried doing
`curl_easy_reset (gcurl)' after my first request/curl_easy_perform(..),
but in vain, didn't help much.

     So the problem still persists, could you please help? I'm really out of
any clue now.

Thank you!

--
Regards
     - Prasad
Received on 2008-04-11