cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Fri, 11 Apr 2008 09:53:00 +0200

Prasad J Pandit wrote:
> 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.

Now we have definitely reached the point where you really have to show
us the code. We can't help you otherwise.

By the way, did you fix the flaws in the callback regarding fragmented
responses?

Linus
Received on 2008-04-11