curl-library
Re: easy API: curl_easy_perform() doesn't return after receiving all data
Date: Thu, 2 Nov 2006 22:38:23 +1100
> Just note that this version is some 18 months old and you may suffer from bugs
> already fixed in later versions.
Thanks, I'll compile and install the latest stable version.
> > http://www.nwo.com.au/dump.dat
> >
> > Is the CURLOPT_DEBUGFUNCTION option supposed to dump the POST
> > payload more than once? Likewise the response XML data payload from
> > the server?
>
> No, the debugfunction gets called with data libcurl sends and receives, and it
> shouldn't send nor receive that data more than once.
Then why has it sent and received more than once? Perhaps redirects?
How can I find out?
> The dump looks fine all the way to line 185 where there's something _after_
> the final chunk.
I think your line 185 is different to mine. Do you mean this part:
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Cache-control: private
Transfer-Encoding: chunked
Date: Wed, 01 Nov 2006 14:26:15 GMT
Server: GFE/1.3
2bd3
<?xml version='1.0' encoding='UTF-8'?>
<snip>
</ns1:doGoogleSearchResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
0
Was that the final chunk and is the 0 the bit after the final chunk?
(I thought it was saying there's no more data left.) Or the newline
after it?
In any case I'll compile and install the latest version and test
again, and see what happens.
Thanks again,
-J
Received on 2006-11-02