cURL / Mailing Lists / curl-library / Single Mail

curl-library

A new problem

From: Prasad J Pandit <prasad.pandit_at_comat.com>
Date: Thu, 3 Apr 2008 15:23:20 +0530 (IST)

   Hello guys, greetings!

It's been nice talking to you all. I really liked the general tempo of
this list. So far, I've managed to make my application work with libcurl,
but am facing a new problem, related to receiving data.

I wrote a recv_data(...) callback function, which receives the http
response to the post request that I make. The problem is, *sometimes* this
function gets called even *before* the actual response is sent by the
server. And all I get is an empty string.

I'm trying to figure out if curl_easy_pause() can be used, and meanwhile
thought if you could also help?

Thank you!

--
Regards
   - Prasad
Received on 2008-04-03